From 741a66e472577c786585e0b6a1af9ccad89c9ca5 Mon Sep 17 00:00:00 2001 From: Joshua Leung Date: Sun, 1 Mar 2015 00:38:44 +1300 Subject: 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. --- release/scripts/startup/bl_ui/space_dopesheet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'release/scripts') diff --git a/release/scripts/startup/bl_ui/space_dopesheet.py b/release/scripts/startup/bl_ui/space_dopesheet.py index 5358670c2f2..67849a99abe 100644 --- a/release/scripts/startup/bl_ui/space_dopesheet.py +++ b/release/scripts/startup/bl_ui/space_dopesheet.py @@ -122,7 +122,7 @@ class DOPESHEET_HT_header(Header): dopesheet_filter(layout, context, genericFiltersOnly=True) if st.mode in {'ACTION', 'SHAPEKEY'}: - layout.template_ID(st, "action", new="action.new") + layout.template_ID(st, "action", new="action.stash_and_create") row = layout.row(align=True) row.operator("action.push_down", text="Push Down", icon='NLA_PUSHDOWN') -- cgit v1.2.3