Node selection: Stop operator when mouse selection selected a node
Previously, hitting Shift-LMB will first invoke selection operator, which then later on is transformed to mouse tweak used for reroute operator. This was causing problems extending selection with Shift-LMB when clicking fast or from a tablet.
This commit is contained in:
parent
1c7657befb
commit
bf58ec9265
|
@ -476,9 +476,8 @@ static int node_select_exec(bContext *C, wmOperator *op)
|
|||
if (node_mouse_select(bmain, snode, ar, mval, extend)) {
|
||||
/* send notifiers */
|
||||
WM_event_add_notifier(C, NC_NODE | NA_SELECTED, NULL);
|
||||
|
||||
/* allow tweak event to work too */
|
||||
return OPERATOR_FINISHED | OPERATOR_PASS_THROUGH;
|
||||
|
||||
return OPERATOR_FINISHED;
|
||||
}
|
||||
else {
|
||||
/* allow tweak event to work too */
|
||||
|
|
Loading…
Reference in New Issue