diff options
author | Philipp Oeser <info@graphics-engineer.com> | 2021-11-02 11:57:16 +0300 |
---|---|---|
committer | Philipp Oeser <info@graphics-engineer.com> | 2021-11-02 11:57:16 +0300 |
commit | 223f2b27d1d12c5b4267b809ae885c82e77e42e9 (patch) | |
tree | 33f33bfd3727dd56ae1caa8047a0f5bbe3f800ff /source/blender | |
parent | 21e168069df1134e8c6b01bf01374849ddc43fa1 (diff) | |
parent | a5b996df88c586d77d083cbbbd2299dc84cb1584 (diff) |
Merge branch 'blender-v3.0-release'
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/draw/engines/image/image_engine.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/draw/engines/image/image_engine.cc b/source/blender/draw/engines/image/image_engine.cc index 72315d10ee8..d09c4223410 100644 --- a/source/blender/draw/engines/image/image_engine.cc +++ b/source/blender/draw/engines/image/image_engine.cc @@ -109,7 +109,7 @@ static void space_image_gpu_texture_get(Image *image, { const DRWContextState *draw_ctx = DRW_context_state_get(); SpaceImage *sima = (SpaceImage *)draw_ctx->space_data; - if (BKE_image_is_multilayer(image)) { + if (image->rr != NULL) { /* Update multi-index and pass for the current eye. */ BKE_image_multilayer_index(image->rr, &sima->iuser); } |