diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-06-14 18:57:35 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-06-14 18:57:35 +0400 |
commit | 0fab77023d50abcdafc4e6be61e3c48a758bcd23 (patch) | |
tree | 72ccdd5cc10bd1d8d76d3ea20effb6f6b274f94e /source/blender/blenloader | |
parent | 88b30ccb8cc2552ec6ca118cdcab4f75d5fb19b5 (diff) |
fix for building c++ rna api with recently added smoothgroup api call.
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r-- | source/blender/blenloader/intern/readfile.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c index 44dd3926777..d44e3fd4948 100644 --- a/source/blender/blenloader/intern/readfile.c +++ b/source/blender/blenloader/intern/readfile.c @@ -9503,11 +9503,9 @@ static void do_versions(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->spacetype == SPACE_NODE) - { + if (sl->spacetype == SPACE_NODE) { SpaceNode *snode = (SpaceNode *)sl; - if (snode->zoom < 0.02) - { + if (snode->zoom < 0.02f) { snode->zoom = 1.0; } } |