Merge branch 'blender2.7'
[blender.git] / intern / cycles / render / image.cpp
index ea69911..1edd586 100644 (file)
@@ -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);
                }