[Bf-blender-cvs] [4418536f69d] blender-v3.2-release: Fix T98321: Image.update doesn't update the image editor.

Jeroen Bakker noreply at git.blender.org
Mon May 23 08:16:24 CEST 2022


Commit: 4418536f69dae23985cb55195066521af488298b
Author: Jeroen Bakker
Date:   Mon May 23 08:11:29 2022 +0200
Branches: blender-v3.2-release
https://developer.blender.org/rB4418536f69dae23985cb55195066521af488298b

Fix T98321: Image.update doesn't update the image editor.

Missing call to partial update.

===================================================================

M	source/blender/makesrna/intern/rna_image_api.c

===================================================================

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



More information about the Bf-blender-cvs mailing list