diff options
Diffstat (limited to 'intern/cycles/render/image.cpp')
-rw-r--r-- | intern/cycles/render/image.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/intern/cycles/render/image.cpp b/intern/cycles/render/image.cpp index a8e6f41e57a..341a95c0258 100644 --- a/intern/cycles/render/image.cpp +++ b/intern/cycles/render/image.cpp @@ -333,6 +333,10 @@ int ImageManager::add_image(const string& filename, img->use_alpha = use_alpha; img->need_load = true; } + if(!(img->metadata == metadata)) { + img->metadata = metadata; + img->need_load = true; + } img->users++; return type_index_to_flattened_slot(slot, type); } |