Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Bakker <jeroen@blender.org>2022-05-23 09:11:29 +0300
committerJeroen Bakker <jeroen@blender.org>2022-05-23 09:14:38 +0300
commit4418536f69dae23985cb55195066521af488298b (patch)
treec5075673141b68597f116c990256826f529b38de
parent47b0ca85cd9596bc4948b15a77b45cbd7812554c (diff)
Fix T98321: Image.update doesn't update the image editor.
Missing call to partial update.
-rw-r--r--source/blender/makesrna/intern/rna_image_api.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_image_api.c b/source/blender/makesrna/intern/rna_image_api.c
index 897573f9fd9..29f639fbe65 100644
--- a/source/blender/makesrna/intern/rna_image_api.c
+++ b/source/blender/makesrna/intern/rna_image_api.c
@@ -192,6 +192,7 @@ static void rna_Image_update(Image *image, ReportList *reports)
}
ibuf->userflags |= IB_DISPLAY_BUFFER_INVALID;
+ BKE_image_partial_update_mark_full_update(image);
BKE_image_release_ibuf(image, ibuf, NULL);
}