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-04-03 13:15:56 +0300
committerJoshua Leung <aligorith@gmail.com>2015-04-03 15:39:53 +0300
commitbcf1abbc83a6673b4111f52c83cfce88597f20d5 (patch)
tree7dfb4f4b3107a14d49d955e7f6b1b6c365079ccc /source/blender/editors/space_action/action_ops.c
parent13a63234d6a63c334b550215b3345b46956fcef7 (diff)
Action Editor: Go to Next/Previous Animation Layer
With this feature, it is now possible to quickly switch between different actions stacked/stashed on top of each other in the NLA Stack without having to go to the NLA Editor and doing a tab-select-tab dance, thus saving quite a few clicks. It was specifically designed with Game Animation / Action Library workflows in mind, but also helps layered animation workflows. Usage: Simply click on the up/down arrow buttons (between the action datablock selector and the pushdown/stash buttons) to go to the action in the NLA Track above/below the NLA Strip being whose action is being tweaked in the Action Editor. Notes: - These still work when you're not editing the action used by a NLA Strip. If you're just animating a new action normally, it is possible to use the "down arrow" to temporarily jump down to the previous action without losing the new action you're working on, and then use the "up arrow" to get back to it once you're done checking the other action(s). - If there are multiple actions/strips on the same layer/track, then only the one closest to the current frame will be used.
Diffstat (limited to 'source/blender/editors/space_action/action_ops.c')
-rw-r--r--source/blender/editors/space_action/action_ops.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/space_action/action_ops.c b/source/blender/editors/space_action/action_ops.c
index 8c706d8da57..431dd27d064 100644
--- a/source/blender/editors/space_action/action_ops.c
+++ b/source/blender/editors/space_action/action_ops.c
@@ -83,6 +83,9 @@ void action_operatortypes(void)
WM_operatortype_append(ACTION_OT_stash);
WM_operatortype_append(ACTION_OT_stash_and_create);
+ WM_operatortype_append(ACTION_OT_layer_next);
+ WM_operatortype_append(ACTION_OT_layer_prev);
+
WM_operatortype_append(ACTION_OT_previewrange_set);
WM_operatortype_append(ACTION_OT_view_all);
WM_operatortype_append(ACTION_OT_view_selected);