diff options
author | RedMser <RedMser> | 2022-08-01 13:20:58 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@blender.org> | 2022-08-01 13:21:05 +0300 |
commit | 426c0865d37167119f9f81154ce916dcea68248f (patch) | |
tree | 54c7af58fa6506ec179bf9799b303aeb805a2e78 /source/blender/editors/space_action/action_select.c | |
parent | 87cc77d375f2745df429dfc36e06e8c68efb40d1 (diff) |
Animation: Fix operator properties for redo paneltemp-anim-editors-redo-panel-D14960-D14977
Animation: Fix operator properties for redo panel
After the redo panel is added to animation editors in D14960, many operators
must be adjusted to appear and function correctly.
A full list of changes is tracked in T98195
---
This patch only includes actual usability fixes. It does not do any changes for the user's convenience, like adding other helpful properties to operators. This can be done in a follow-up patch.
Reviewed By: sybren
Maniphest Tasks: T98195
Differential Revision: https://developer.blender.org/D14977
Diffstat (limited to 'source/blender/editors/space_action/action_select.c')
-rw-r--r-- | source/blender/editors/space_action/action_select.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/space_action/action_select.c b/source/blender/editors/space_action/action_select.c index d1a8592ae9d..54eb84938fd 100644 --- a/source/blender/editors/space_action/action_select.c +++ b/source/blender/editors/space_action/action_select.c @@ -585,7 +585,7 @@ void ACTION_OT_select_box(wmOperatorType *ot) ot->poll = ED_operator_action_active; /* flags */ - ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO; + ot->flag = OPTYPE_UNDO; /* rna */ ot->prop = RNA_def_boolean(ot->srna, "axis_range", 0, "Axis Range", ""); @@ -1129,6 +1129,7 @@ void ACTION_OT_select_column(wmOperatorType *ot) /* props */ ot->prop = RNA_def_enum(ot->srna, "mode", prop_column_select_types, 0, "Mode", ""); + RNA_def_property_flag(ot->prop, PROP_HIDDEN); } /* ******************** Select Linked Operator *********************** */ |