Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2018-06-03 11:59:48 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-06-03 12:12:50 +0300
commit6221180963c39f9f3f95982070ff6f381ab7e0b2 (patch)
treeecd853c013b5f2038ff9863d2c471a1b4244c0e7 /source/blender/blenloader
parent815b1f24fa298784d9204b9248bc69ceb2b3d762 (diff)
Cleanup: remove blockscale & handler
Replace with link_flag, currently unused, needed for dynamic space types which is planned.
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r--source/blender/blenloader/intern/versioning_legacy.c5
1 files changed, 0 insertions, 5 deletions
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;