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:
authorJoshua Leung <aligorith@gmail.com>2013-03-14 09:58:13 +0400
committerJoshua Leung <aligorith@gmail.com>2013-03-14 09:58:13 +0400
commit0fa006cba1f8f67d91adea0ea9a1c5669ae21b72 (patch)
treea013d4e87cc8941349ae19abf0a4e08aec9d931c /source/blender/editors/space_nla
parentaff410b558c4c438f38a4050dbe13684e209572b (diff)
Remove OPTYPE_REGISTER flag from click handler operator for anim editors
1) It made no sense to show this as the last operator which was used, since these can only be used from the anim editors (and not the 3D View where this panel appears most of the time) 2) Mouse select operators in other places didn't do this 3) There aren't really any editable parameters for this operator anyway 4) It's highly dependent on valid mouse coordinates as input. Apart from that, undo still works fine, so no need to really keep this here.
Diffstat (limited to 'source/blender/editors/space_nla')
-rw-r--r--source/blender/editors/space_nla/nla_channels.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_nla/nla_channels.c b/source/blender/editors/space_nla/nla_channels.c
index ba1a3accf93..1dccc874c17 100644
--- a/source/blender/editors/space_nla/nla_channels.c
+++ b/source/blender/editors/space_nla/nla_channels.c
@@ -380,7 +380,7 @@ void NLA_OT_channels_click(wmOperatorType *ot)
ot->poll = ED_operator_nla_active;
/* flags */
- ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO;
+ ot->flag = OPTYPE_UNDO;
/* props */
prop = RNA_def_boolean(ot->srna, "extend", 0, "Extend Select", ""); // SHIFTKEY