diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-02-17 12:55:23 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-02-17 13:03:56 +0300 |
commit | c64cea14edddd50d33a6c43c0327edd8ce186e30 (patch) | |
tree | 8a758de87d4fabd57c58fd769e01c5dec42d3689 /source/blender/editors/space_graph/graph_select.c | |
parent | 340f452da8c6bfc3a6d8136a0e2e7da7ef1fc66c (diff) |
Keymap: minor tweaks so box-select shortcuts show in the menu
Diffstat (limited to 'source/blender/editors/space_graph/graph_select.c')
-rw-r--r-- | source/blender/editors/space_graph/graph_select.c | 16 |
1 files changed, 10 insertions, 6 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); |