Fix `Image.gl_touch` not loading image.
Same fix as for {rBc09f61a9157ddee0e186db52fb7ac0f4cdae09da}
This commit is contained in:
parent
578baf95e0
commit
796ef560b4
|
@ -243,7 +243,7 @@ static int rna_Image_gl_touch(
|
|||
|
||||
BKE_image_tag_time(image);
|
||||
|
||||
if (image->gputexture[TEXTARGET_2D][0] == NULL) {
|
||||
if (image->gputexture[TEXTARGET_2D][0][IMA_TEXTURE_RESOLUTION_FULL] == NULL) {
|
||||
error = rna_Image_gl_load(image, reports, frame, layer_index, pass_index);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue