Fix T75694: Compositor Backdrop boundbox missing updates

This adds notifiers for backimage_move & backimage_fit.

Maniphest Tasks: T75694

Differential Revision: https://developer.blender.org/D7778
This commit is contained in:
Philipp Oeser 2020-05-18 16:37:00 +02:00
parent 82bda82ec4
commit 675ba2073d
Notes: blender-bot 2023-02-14 07:25:46 +01:00
Referenced by issue #75694, Backdrop boundbox not updated when backimage_move is running
1 changed files with 2 additions and 0 deletions

View File

@ -209,6 +209,7 @@ static int snode_bg_viewmove_modal(bContext *C, wmOperator *op, const wmEvent *e
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);
break;
@ -354,6 +355,7 @@ static int backimage_fit_exec(bContext *C, wmOperator *UNUSED(op))
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;
}