Addition to fix for bug #5709:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Sun, 21 Jan 2007 16:08:34 +0000 (16:08 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Sun, 21 Jan 2007 16:08:34 +0000 (16:08 +0000)
Needed to move the check one subversion further, because files with the
current subversion could already be saved with the wrong value.

source/blender/blenloader/intern/readfile.c

index faee9b737042c13d79e0bacbaebe8a03fa5332f0..f729a70c2f5ac02d830df697a7892dcb7f86e676 100644 (file)
@@ -6350,10 +6350,14 @@ static void do_versions(FileData *fd, Library *lib, Main *main)
                                sce->r.bake_filter= 2;
                                sce->r.bake_osa= 5;
                                sce->r.bake_flag= R_BAKE_CLEAR;
+                       }
+               }
 
+               if(main->subversionfile < 5) {
+                       for(sce= main->scene.first; sce; sce= sce->id.next) {
                                /* improved triangle to quad conversion settings */
                                if(sce->toolsettings->jointrilimit==0.0f)
-                                       sce->toolsettings->jointrilimit = 0.8f;
+                                       sce->toolsettings->jointrilimit= 0.8f;
                        }
                }
        }