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>2020-02-17 12:55:23 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-02-17 13:03:56 +0300
commitc64cea14edddd50d33a6c43c0327edd8ce186e30 (patch)
tree8a758de87d4fabd57c58fd769e01c5dec42d3689 /source/blender/editors
parent340f452da8c6bfc3a6d8136a0e2e7da7ef1fc66c (diff)
Keymap: minor tweaks so box-select shortcuts show in the menu
Diffstat (limited to 'source/blender/editors')
-rw-r--r--source/blender/editors/space_graph/graph_select.c16
-rw-r--r--source/blender/editors/space_sequencer/sequencer_select.c2
2 files changed, 11 insertions, 7 deletions
diff --git a/source/blender/editors/space_graph/graph_select.c b/source/blender/editors/space_graph/graph_select.c
index 9c1d63ef68a..a3f7496d13b 100644
--- a/source/blender/editors/space_graph/graph_select.c
+++ b/source/blender/editors/space_graph/graph_select.c
@@ -724,13 +724,17 @@ void GRAPH_OT_select_box(wmOperatorType *ot)
/* properties */
ot->prop = RNA_def_boolean(ot->srna, "axis_range", 0, "Axis Range", "");
- RNA_def_boolean(ot->srna,
- "include_handles",
- true,
- "Include Handles",
- "Are handles tested individually against the selection criteria");
+ RNA_def_property_flag(ot->prop, PROP_SKIP_SAVE);
+
+ PropertyRNA *prop;
+ prop = RNA_def_boolean(ot->srna,
+ "include_handles",
+ true,
+ "Include Handles",
+ "Are handles tested individually against the selection criteria");
+ RNA_def_property_flag(prop, PROP_SKIP_SAVE);
- PropertyRNA *prop = RNA_def_boolean(
+ prop = RNA_def_boolean(
ot->srna, "tweak", 0, "Tweak", "Operator has been activated using a tweak event");
RNA_def_property_flag(prop, PROP_SKIP_SAVE);
diff --git a/source/blender/editors/space_sequencer/sequencer_select.c b/source/blender/editors/space_sequencer/sequencer_select.c
index f63081c838b..a6f9ffc3b19 100644
--- a/source/blender/editors/space_sequencer/sequencer_select.c
+++ b/source/blender/editors/space_sequencer/sequencer_select.c
@@ -1136,7 +1136,7 @@ void SEQUENCER_OT_select_box(wmOperatorType *ot)
ot->srna, "tweak", 0, "Tweak", "Operator has been activated using a tweak event");
RNA_def_property_flag(prop, PROP_SKIP_SAVE);
prop = RNA_def_boolean(
- ot->srna, "include_handles", 0, "Select Handles", "Select the strips' handles");
+ ot->srna, "include_handles", 0, "Select Handles", "Select the strips and their handles");
RNA_def_property_flag(prop, PROP_SKIP_SAVE);
}