Bugfix; version patching for new armature layers and Node editor themes
authorTon Roosendaal <ton@blender.org>
Sun, 29 Jan 2006 12:53:57 +0000 (12:53 +0000)
committerTon Roosendaal <ton@blender.org>
Sun, 29 Jan 2006 12:53:57 +0000 (12:53 +0000)
had to check 2.41 files too. Orange branch was still in 2.40...

source/blender/blenloader/intern/readfile.c

index 1d523cbec2912540dd36bc2479f4f3cf1da12fb3..df36fafcab1ec4cca7e8ffe6729e0c08985b2372 100644 (file)
@@ -5251,7 +5251,7 @@ static void do_versions(FileData *fd, Library *lib, Main *main)
                }
        }
        
-       if(main->versionfile <= 240) {
+       if(main->versionfile <= 241) {
                Scene *sce;
                bArmature *arm;
                
@@ -5267,10 +5267,7 @@ static void do_versions(FileData *fd, Library *lib, Main *main)
                        if(sce->r.layers.first==NULL)
                                scene_add_render_layer(sce);
                }
-       }
-       
-       if(main->versionfile <= 241) {
-               Object *ob;
+               //Object *ob;
                
                /* for empty drawsize and drawtype */
                /* uncomment before release!  --broken