diff options
author | Joshua Leung <aligorith@gmail.com> | 2011-01-21 01:22:16 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2011-01-21 01:22:16 +0300 |
commit | 76940e6f5c0739af246cb7fd511814567a41fed6 (patch) | |
tree | 9330e313112a07df1c5332aa93c747264078e748 /source/blender/editors/space_nla | |
parent | cfe1f77a5f173099402c65797ab796af725b5e84 (diff) |
- Bugfix: NLA "duplicate" operator now lets strips get moved between
tracks too, instead of only sliding around on the track they were
defined on.
- Adding description fields for many (older) operators that lacked
them
Diffstat (limited to 'source/blender/editors/space_nla')
-rw-r--r-- | source/blender/editors/space_nla/nla_channels.c | 3 | ||||
-rw-r--r-- | source/blender/editors/space_nla/nla_edit.c | 2 | ||||
-rw-r--r-- | source/blender/editors/space_nla/nla_select.c | 1 |
3 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/editors/space_nla/nla_channels.c b/source/blender/editors/space_nla/nla_channels.c index 650205c2f44..006e390be2b 100644 --- a/source/blender/editors/space_nla/nla_channels.c +++ b/source/blender/editors/space_nla/nla_channels.c @@ -341,8 +341,9 @@ static int nlachannels_mouseclick_invoke(bContext *C, wmOperator *op, wmEvent *e void NLA_OT_channels_click (wmOperatorType *ot) { /* identifiers */ - ot->name= "Mouse Click on Channels"; + ot->name= "Mouse Click on NLA Channels"; ot->idname= "NLA_OT_channels_click"; + ot->description= "Handle clicks to select NLA channels"; /* api callbacks */ ot->invoke= nlachannels_mouseclick_invoke; diff --git a/source/blender/editors/space_nla/nla_edit.c b/source/blender/editors/space_nla/nla_edit.c index 48ee8e26b94..b70a6339fed 100644 --- a/source/blender/editors/space_nla/nla_edit.c +++ b/source/blender/editors/space_nla/nla_edit.c @@ -650,7 +650,7 @@ static int nlaedit_duplicate_invoke(bContext *C, wmOperator *op, wmEvent *UNUSED { nlaedit_duplicate_exec(C, op); - RNA_int_set(op->ptr, "mode", TFM_TIME_TRANSLATE); // XXX + RNA_int_set(op->ptr, "mode", TFM_TRANSLATION); WM_operator_name_call(C, "TRANSFORM_OT_transform", WM_OP_INVOKE_REGION_WIN, op->ptr); return OPERATOR_FINISHED; diff --git a/source/blender/editors/space_nla/nla_select.c b/source/blender/editors/space_nla/nla_select.c index bb22b78b2d1..032f4984b83 100644 --- a/source/blender/editors/space_nla/nla_select.c +++ b/source/blender/editors/space_nla/nla_select.c @@ -581,6 +581,7 @@ void NLA_OT_click_select (wmOperatorType *ot) /* identifiers */ ot->name= "Mouse Select"; ot->idname= "NLA_OT_click_select"; + ot->description= "Handle clicks to select NLA Strips"; /* api callbacks - absolutely no exec() this yet... */ ot->invoke= nlaedit_clickselect_invoke; |