[Bf-blender-cvs] [80fe0ac7ff8] blender-v2.81-release: Fix T70581: Node Wrangler output switching broken

Julian Eisel noreply at git.blender.org
Mon Oct 14 12:12:15 CEST 2019


Commit: 80fe0ac7ff8cf44cc7f3706ea47270a1e794e1ff
Author: Julian Eisel
Date:   Mon Oct 14 11:55:49 2019 +0200
Branches: blender-v2.81-release
https://developer.blender.org/rB80fe0ac7ff8cf44cc7f3706ea47270a1e794e1ff

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.

===================================================================

M	source/blender/windowmanager/intern/wm_operator_props.c

===================================================================

diff --git a/source/blender/windowmanager/intern/wm_operator_props.c b/source/blender/windowmanager/intern/wm_operator_props.c
index 395de89c0da..21636153904 100644
--- a/source/blender/windowmanager/intern/wm_operator_props.c
+++ b/source/blender/windowmanager/intern/wm_operator_props.c
@@ -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);



More information about the Bf-blender-cvs mailing list