diff options
author | Jeroen Bakker <jeroen@blender.org> | 2022-02-28 11:23:45 +0300 |
---|---|---|
committer | Jeroen Bakker <jeroen@blender.org> | 2022-02-28 11:23:45 +0300 |
commit | cb736d2f030e3a66a6f65438b257452124c12523 (patch) | |
tree | 34a8a063f816bb69704f7a30d4d9a8890042e529 /source/blender/draw/engines/image | |
parent | 540fd10b4fda80eb9c806aae29363daefd2f990e (diff) |
Fix T95298: Multiview images not displaying correctly.
Image users have a multi_index that wasn't updated in case it is a normal
image.
Diffstat (limited to 'source/blender/draw/engines/image')
-rw-r--r-- | source/blender/draw/engines/image/image_engine.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/draw/engines/image/image_engine.cc b/source/blender/draw/engines/image/image_engine.cc index 201733f41a7..48afc9c7f7a 100644 --- a/source/blender/draw/engines/image/image_engine.cc +++ b/source/blender/draw/engines/image/image_engine.cc @@ -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); } |