Changed do_version condition for noodle_curving.
authorSergey Sharybin <sergey.vfx@gmail.com>
Sun, 7 Aug 2011 14:57:25 +0000 (14:57 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Sun, 7 Aug 2011 14:57:25 +0000 (14:57 +0000)
It should be re-set to 5 for files saved in 2.58.1 release.

source/blender/editors/interface/resources.c

index f3db6ad..e71f709 100644 (file)
@@ -1557,7 +1557,7 @@ void init_userdef_do_versions(void)
                U.autokey_flag &= ~AUTOKEY_FLAG_ONLYKEYINGSET;
        }
 
-       if (bmain->versionfile < 258 || (bmain->versionfile == 258 && bmain->subversionfile < 1)) {
+       if (bmain->versionfile < 258 || (bmain->versionfile == 258 && bmain->subversionfile < 2)) {
                bTheme *btheme;
                for(btheme= U.themes.first; btheme; btheme= btheme->next) {
                        btheme->tnode.noodle_curving = 5;