forked from bartvdbraak/blender
toggling node hide/sockets/options was triggering a re-render.
This commit is contained in:
parent
7881d2c1a8
commit
54bfdb9296
@ -3987,7 +3987,7 @@ static int node_hide_toggle_exec(bContext *C, wmOperator *UNUSED(op))
|
||||
|
||||
node_flag_toggle_exec(snode, NODE_HIDDEN);
|
||||
|
||||
snode_notify(C, snode);
|
||||
WM_event_add_notifier(C, NC_NODE | ND_DISPLAY, NULL);
|
||||
|
||||
return OPERATOR_FINISHED;
|
||||
}
|
||||
@ -4049,7 +4049,7 @@ static int node_options_toggle_exec(bContext *C, wmOperator *UNUSED(op))
|
||||
|
||||
node_flag_toggle_exec(snode, NODE_OPTIONS);
|
||||
|
||||
snode_notify(C, snode);
|
||||
WM_event_add_notifier(C, NC_NODE | ND_DISPLAY, NULL);
|
||||
|
||||
return OPERATOR_FINISHED;
|
||||
}
|
||||
@ -4100,7 +4100,7 @@ static int node_socket_toggle_exec(bContext *C, wmOperator *UNUSED(op))
|
||||
|
||||
ntreeUpdateTree(snode->edittree);
|
||||
|
||||
snode_notify(C, snode);
|
||||
WM_event_add_notifier(C, NC_NODE | ND_DISPLAY, NULL);
|
||||
|
||||
return OPERATOR_FINISHED;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user