diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2014-08-22 15:36:00 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2014-08-22 15:36:00 +0400 |
commit | 7c052a88771cf826681f5cfee7cc4e2260427784 (patch) | |
tree | 2612dec700399a4e0b45e7ec8d3bad1201995047 | |
parent | 08c1408f82e26f53de3780c0ccc7b4fbc43220e6 (diff) |
Cycles: Fix wrong image update tagging, float vs. byte images
-rw-r--r-- | intern/cycles/render/image.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/render/image.cpp b/intern/cycles/render/image.cpp index f84396ab6a1..5ab9d81b854 100644 --- a/intern/cycles/render/image.cpp +++ b/intern/cycles/render/image.cpp @@ -332,7 +332,7 @@ void ImageManager::tag_reload_image(const string& filename, void *builtin_data, /* see if it's in a float texture slot */ for(slot = 0; slot < float_images.size(); slot++) { if(float_images[slot] && image_equals(float_images[slot], filename, builtin_data, interpolation)) { - images[slot]->need_load = true; + float_images[slot]->need_load = true; break; } } |