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:
authorNathan Craddock <nzcraddock@gmail.com>2021-01-31 07:38:50 +0300
committerNathan Craddock <nzcraddock@gmail.com>2021-01-31 07:49:56 +0300
commit7a64e9376186182acb135aa864eb472d0562d624 (patch)
treeba17e2793d3ab2223c8843124f30971afdca8d25
parent40061911d2459a60ee23740bf4816a08f55b6ea5 (diff)
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.
-rw-r--r--source/blender/editors/space_node/node_view.c1
1 files changed, 1 insertions, 0 deletions
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;
}