From 6221180963c39f9f3f95982070ff6f381ab7e0b2 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 3 Jun 2018 10:59:48 +0200 Subject: Cleanup: remove blockscale & handler Replace with link_flag, currently unused, needed for dynamic space types which is planned. --- source/blender/blenloader/intern/versioning_legacy.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'source/blender/blenloader/intern') diff --git a/source/blender/blenloader/intern/versioning_legacy.c b/source/blender/blenloader/intern/versioning_legacy.c index 80490081337..e2bfcad3f7f 100644 --- a/source/blender/blenloader/intern/versioning_legacy.c +++ b/source/blender/blenloader/intern/versioning_legacy.c @@ -1587,8 +1587,6 @@ void blo_do_versions_pre250(FileData *fd, Library *lib, Main *main) SpaceLink *sl; for (sl = sa->spacedata.first; sl; sl = sl->next) { - if (sl->blockscale == 0.0f) - sl->blockscale = 0.7f; /* added: 5x better zoom in for action */ if (sl->spacetype == SPACE_ACTION) { SpaceAction *sac = (SpaceAction *)sl; @@ -1752,9 +1750,6 @@ void blo_do_versions_pre250(FileData *fd, Library *lib, Main *main) for (sa = sc->areabase.first; sa; sa = sa->next) { SpaceLink *sl; for (sl = sa->spacedata.first; sl; sl = sl->next) { - if (sl->blockscale == 0.0f) - sl->blockscale = 0.7f; - /* added: 5x better zoom in for nla */ if (sl->spacetype == SPACE_NLA) { SpaceNla *snla = (SpaceNla *) sl; -- cgit v1.2.3