diff options
author | Joshua Leung <aligorith@gmail.com> | 2007-01-10 11:51:24 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2007-01-10 11:51:24 +0300 |
commit | 242db4a960c10b94b834e5bc500f8045557f53ae (patch) | |
tree | bc19d5fa1191cac09c61dee6b897dcc59d0b31d7 /source/blender/blenloader | |
parent | 253b98d98c64bb7f24d71e953714b5b893565aa8 (diff) |
== Action/IPO Cleaning Cleanup ==
Further cleanups, this time moving all the checks for making sure that
the cleaning threshold is defined are centralised in the do_versions code.
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r-- | source/blender/blenloader/intern/readfile.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c index 477ef6ac55c..23a7ed8b747 100644 --- a/source/blender/blenloader/intern/readfile.c +++ b/source/blender/blenloader/intern/readfile.c @@ -6132,6 +6132,9 @@ static void do_versions(FileData *fd, Library *lib, Main *main) for(sce= main->scene.first; sce; sce= sce->id.next) { if (sce->toolsettings->select_thresh == 0.0f) sce->toolsettings->select_thresh= 0.01f; + if (sce->toolsettings->clean_thresh == 0.0f) + sce->toolsettings->clean_thresh = 0.1f; + if (sce->r.threads==0) { if (sce->r.mode & R_THREADS) sce->r.threads= 2; |