Merge branch 'blender-v3.0-release'

This commit is contained in:
Philipp Oeser 2021-11-02 09:57:16 +01:00
commit 223f2b27d1
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}