Fix T70581: Node Wrangler output switching broken
When executing the node selection operator through Python, or in fact any similar select operator with drag-all-selected support, the operator was enabling modal execution, which should not be done in this case. Reason was simply a wrong default for an internal property.
This commit is contained in:
parent
0fb55ff845
commit
80fe0ac7ff
Notes:
blender-bot
2023-02-14 19:07:42 +01:00
Referenced by issue blender/blender-addons#70581, Ctrl+Shift+Click on a node does't work if the node is already selected (Link Viewer, Node Wrangler)
|
@ -399,7 +399,7 @@ void WM_operator_properties_select_operation_simple(wmOperatorType *ot)
|
|||
void WM_operator_properties_generic_select(wmOperatorType *ot)
|
||||
{
|
||||
PropertyRNA *prop = RNA_def_boolean(
|
||||
ot->srna, "wait_to_deselect_others", true, "Wait to Deselect Others", "");
|
||||
ot->srna, "wait_to_deselect_others", false, "Wait to Deselect Others", "");
|
||||
RNA_def_property_flag(prop, PROP_HIDDEN | PROP_SKIP_SAVE);
|
||||
|
||||
RNA_def_int(ot->srna, "mouse_x", 0, INT_MIN, INT_MAX, "Mouse X", "", INT_MIN, INT_MAX);
|
||||
|
|
Loading…
Reference in New Issue