[Bf-blender-cvs] [7a64e937618] blender-v2.92-release: Fix T79797: Compositor backdrop gizmo not updating after zoom

Nathan Craddock noreply at git.blender.org
Sun Jan 31 05:50:48 CET 2021


Commit: 7a64e9376186182acb135aa864eb472d0562d624
Author: Nathan Craddock
Date:   Sat Jan 30 21:38:50 2021 -0700
Branches: blender-v2.92-release
https://developer.blender.org/rB7a64e9376186182acb135aa864eb472d0562d624

Fix T79797: Compositor backdrop gizmo not updating after zoom

The gizmo for the compositor backdrop image did not redraw when zooming
in and out with the backimage_zoom operator. This adds the missing
notifier.

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

M	source/blender/editors/space_node/node_view.c

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

diff --git a/source/blender/editors/space_node/node_view.c b/source/blender/editors/space_node/node_view.c
index d2c88ed787c..d938cb38270 100644
--- a/source/blender/editors/space_node/node_view.c
+++ b/source/blender/editors/space_node/node_view.c
@@ -311,6 +311,7 @@ static int backimage_zoom_exec(bContext *C, wmOperator *op)
   snode->zoom *= fac;
   ED_region_tag_redraw(region);
   WM_main_add_notifier(NC_NODE | ND_DISPLAY, NULL);
+  WM_main_add_notifier(NC_SPACE | ND_SPACE_NODE_VIEW, NULL);
 
   return OPERATOR_FINISHED;
 }



More information about the Bf-blender-cvs mailing list