diff options
author | Nathan Craddock <nzcraddock@gmail.com> | 2021-01-31 07:38:50 +0300 |
---|---|---|
committer | Nathan Craddock <nzcraddock@gmail.com> | 2021-01-31 07:49:56 +0300 |
commit | 7a64e9376186182acb135aa864eb472d0562d624 (patch) | |
tree | ba17e2793d3ab2223c8843124f30971afdca8d25 | |
parent | 40061911d2459a60ee23740bf4816a08f55b6ea5 (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.c | 1 |
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; } |