Fix T95298: Multiview images not displaying correctly.

Image users have a multi_index that wasn't updated in case it is a normal
image.
This commit is contained in:
Jeroen Bakker 2022-02-28 09:23:45 +01:00
parent 540fd10b4f
commit cb736d2f03
Notes: blender-bot 2023-02-14 03:29:37 +01:00
Referenced by issue #97543, Regression: Changing the layer and/or pass of an OpenEXR multi-layer image in the image editor does not update the image drawn in the editor
Referenced by issue #95298, Regression: Multi-view images fail to display properly in the Image Editor
1 changed files with 1 additions and 0 deletions

View File

@ -122,6 +122,7 @@ class ImageEngine {
space->release_buffer(instance_data->image, image_buffer, lock);
ImageUser *iuser = space->get_image_user();
BKE_image_multiview_index(instance_data->image, iuser);
drawing_mode.cache_image(vedata, instance_data->image, iuser);
}