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>2015-02-28 14:38:44 +0300
committerJoshua Leung <aligorith@gmail.com>2015-02-28 16:34:51 +0300
commit741a66e472577c786585e0b6a1af9ccad89c9ca5 (patch)
treedf72fb4dd2cd2e61d3c811ccc03932cb99356f65 /source/blender/editors/space_action/action_ops.c
parent13a0dce51c949e09842876da1c4dc68c047d6ed0 (diff)
Action Editor WIP: Adding new actions in Action Editor now uses the "stash and create new" operator
In constrast to the old "new" operator, this operator will stash the existing action in the stack to prevent it from being lost. This situation isn't totally ideal yet, since the NLA Editor still calls the old method.
Diffstat (limited to 'source/blender/editors/space_action/action_ops.c')
-rw-r--r--source/blender/editors/space_action/action_ops.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/space_action/action_ops.c b/source/blender/editors/space_action/action_ops.c
index 0bf31d2dfb3..8c706d8da57 100644
--- a/source/blender/editors/space_action/action_ops.c
+++ b/source/blender/editors/space_action/action_ops.c
@@ -81,6 +81,7 @@ void action_operatortypes(void)
WM_operatortype_append(ACTION_OT_new);
WM_operatortype_append(ACTION_OT_push_down);
WM_operatortype_append(ACTION_OT_stash);
+ WM_operatortype_append(ACTION_OT_stash_and_create);
WM_operatortype_append(ACTION_OT_previewrange_set);
WM_operatortype_append(ACTION_OT_view_all);