Cycles: Fix wrong image update tagging, float vs. byte images

This commit is contained in:
Sergey Sharybin 2014-08-22 17:36:00 +06:00
parent 08c1408f82
commit 7c052a8877

@ -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;
}
}