diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-12-07 01:59:16 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-12-07 01:59:16 +0400 |
commit | bf0102ffa405027ed4111d6c1635c3995241bb20 (patch) | |
tree | 8aa84da260321e462e1bd8e947618a788201b81d /source/blender/blenloader | |
parent | 759e96164a8d3f0f3f5606ab5f4801859899dd50 (diff) |
fix for texture_slot path, would give incorrect path when used with brushes which only have one texture slot.
also quiet float/double warning.
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r-- | source/blender/blenloader/intern/readfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c index 2c3d3f631bd..902d75ee67e 100644 --- a/source/blender/blenloader/intern/readfile.c +++ b/source/blender/blenloader/intern/readfile.c @@ -8346,7 +8346,7 @@ static void do_versions(FileData *fd, Library *lib, Main *main) for (clip = main->movieclip.first; clip; clip = clip->id.next) { if (clip->tracking.settings.reconstruction_success_threshold == 0.0f) { - clip->tracking.settings.reconstruction_success_threshold = 1e-3; + clip->tracking.settings.reconstruction_success_threshold = 1e-3f; } } } |