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.
This commit is contained in:
Nathan Craddock 2021-01-30 21:38:50 -07:00
parent 40061911d2
commit 7a64e93761
Notes: blender-bot 2023-02-14 02:30:10 +01:00
Referenced by issue #79797, Compositing: backdrop gizmo doesn't update with V/Alt-V zoom
1 changed files with 1 additions and 0 deletions

View File

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