diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2007-01-21 03:09:24 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2007-01-21 03:09:24 +0300 |
commit | 1ac4b1d5c366c2213497e10050c27090a7421af7 (patch) | |
tree | b4fb32a01eee21c79f8521183251315ab8e8d203 /source/blender/blenloader | |
parent | c0b4d42a5321fafba426b413ec74f73b6b193818 (diff) |
Fix for bug #5709:
Join triangle threshold was initialized for wrong subversion.
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r-- | source/blender/blenloader/intern/readfile.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c index 53b39c9bac8..faee9b73704 100644 --- a/source/blender/blenloader/intern/readfile.c +++ b/source/blender/blenloader/intern/readfile.c @@ -6342,10 +6342,6 @@ static void do_versions(FileData *fd, Library *lib, Main *main) } } } - - /* improved triangle to quad conversion settings */ - for(sce= main->scene.first; sce; sce=sce->id.next) - sce->toolsettings->jointrilimit = 0.8f; } if(main->subversionfile < 4) { @@ -6354,6 +6350,10 @@ 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; + + /* improved triangle to quad conversion settings */ + if(sce->toolsettings->jointrilimit==0.0f) + sce->toolsettings->jointrilimit = 0.8f; } } } |