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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user