Commit: 400e57b64acc5fee1859a815d96db91e4e89aaa0
Author: Jeroen Bakker
Date:   Fri Feb 18 08:11:51 2022 +0100
Branches: blender-v3.1-release
https://developer.blender.org/rB400e57b64acc5fee1859a815d96db91e4e89aaa0

Fix T95809: Compositor Node not directly updated in image editor.

Image wasn't tagged to be dirty.

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

M       source/blender/compositor/operations/COM_CompositorOperation.cc

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

diff --git a/source/blender/compositor/operations/COM_CompositorOperation.cc 
b/source/blender/compositor/operations/COM_CompositorOperation.cc
index 696dbb1807c..cffbf152f27 100644
--- a/source/blender/compositor/operations/COM_CompositorOperation.cc
+++ b/source/blender/compositor/operations/COM_CompositorOperation.cc
@@ -105,11 +105,10 @@ void CompositorOperation::deinit_execution()
       re = nullptr;
     }
 
+    Image *image = BKE_image_ensure_viewer(G.main, IMA_TYPE_R_RESULT, "Render 
Result");
+    BKE_image_partial_update_mark_full_update(image);
     BLI_thread_lock(LOCK_DRAW_IMAGE);
-    BKE_image_signal(G.main,
-                     BKE_image_ensure_viewer(G.main, IMA_TYPE_R_RESULT, 
"Render Result"),
-                     nullptr,
-                     IMA_SIGNAL_FREE);
+    BKE_image_signal(G.main, image, nullptr, IMA_SIGNAL_FREE);
     BLI_thread_unlock(LOCK_DRAW_IMAGE);
   }
   else {

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to