Cleanup: remove blockscale & handler
[blender.git] / source / blender / blenloader / intern / versioning_legacy.c
index 80490081337cc0a49e8b4f5d59cd24bcd0f7d08e..e2bfcad3f7ff581088c8c5ce0803b7ed20e21152 100644 (file)
@@ -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;