Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2018-11-13 06:02:28 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-11-13 06:02:28 +0300
commited4f204d86425098824cdf27b38f307ab04a86c0 (patch)
tree66aadb7c764706afd311cc9a00ae8f037d1b556b
parentbba868ebf92fb62a0ce5b19ea284eb720b68e4f7 (diff)
WM: default operators to replace selection
Tools now default to creating new selection.
-rw-r--r--source/blender/windowmanager/intern/wm_operator_props.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/windowmanager/intern/wm_operator_props.c b/source/blender/windowmanager/intern/wm_operator_props.c
index 0c3750baa4c..4515223f829 100644
--- a/source/blender/windowmanager/intern/wm_operator_props.c
+++ b/source/blender/windowmanager/intern/wm_operator_props.c
@@ -259,14 +259,14 @@ void WM_operator_properties_gesture_box(wmOperatorType *ot)
void WM_operator_properties_select_operation(wmOperatorType *ot)
{
static const EnumPropertyItem select_mode_items[] = {
+ {SEL_OP_SET, "SET", 0, "New", ""},
{SEL_OP_ADD, "ADD", 0, "Add", ""},
{SEL_OP_SUB, "SUB", 0, "Subtract", ""},
- {SEL_OP_SET, "SET", 0, "New", ""},
{SEL_OP_XOR, "XOR", 0, "Difference", ""},
{SEL_OP_AND, "AND", 0, "Intersect", ""},
{0, NULL, 0, NULL, NULL}
};
- PropertyRNA *prop = RNA_def_enum(ot->srna, "mode", select_mode_items, SEL_OP_ADD, "Mode", "");
+ PropertyRNA *prop = RNA_def_enum(ot->srna, "mode", select_mode_items, SEL_OP_SET, "Mode", "");
RNA_def_property_flag(prop, PROP_SKIP_SAVE);
}