From bcf1abbc83a6673b4111f52c83cfce88597f20d5 Mon Sep 17 00:00:00 2001 From: Joshua Leung Date: Fri, 3 Apr 2015 23:15:56 +1300 Subject: 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. --- source/blender/editors/space_action/action_ops.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source/blender/editors/space_action/action_ops.c') 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); -- cgit v1.2.3