diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-10-16 08:11:04 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-10-16 08:14:07 +0300 |
commit | 946a4fe85a1717001230ab5f256cf5cf10f045cb (patch) | |
tree | 5acd245b6908bb7201d97aeb5fed2e5e12982beb /source/blender/editors/space_action/action_select.c | |
parent | 8bda35d2f49879ced26e9069bce14ebf368761b3 (diff) |
WM: Don't save mouse-paths to operator history
In preparation for modal operators storing their properties,
no need to keep mouse-paths around.
Also use generic function for lasso properties.
Diffstat (limited to 'source/blender/editors/space_action/action_select.c')
-rw-r--r-- | source/blender/editors/space_action/action_select.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source/blender/editors/space_action/action_select.c b/source/blender/editors/space_action/action_select.c index 6d785e1f7df..22b7b1da77f 100644 --- a/source/blender/editors/space_action/action_select.c +++ b/source/blender/editors/space_action/action_select.c @@ -572,9 +572,7 @@ void ACTION_OT_select_lasso(wmOperatorType *ot) ot->flag = OPTYPE_UNDO; /* properties */ - RNA_def_collection_runtime(ot->srna, "path", &RNA_OperatorMousePath, "Path", ""); - RNA_def_boolean(ot->srna, "deselect", false, "Deselect", "Deselect rather than select items"); - RNA_def_boolean(ot->srna, "extend", true, "Extend", "Extend selection instead of deselecting everything first"); + WM_operator_properties_gesture_lasso(ot); } /* ------------------- */ |