diff options
author | Joshua Leung <aligorith@gmail.com> | 2015-02-27 07:06:44 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2015-02-28 16:34:41 +0300 |
commit | b28a24091facf64c93b5eee89d6595f32354545b (patch) | |
tree | 2a40d6c2496f64de74f964e8c49904d103c6ce2b /release | |
parent | cec1691a91e90fafe336b708cbcd19ebd249f58d (diff) |
Action Editor: Added "Push Down" operator to send the current action on to the NLA Stack
This commit exposes the "Push Down" button/functionality found in the NLA Editor
to the Action Editor, so that actions can be added NLA Stack from here too. The
main point of this for now is to make the whole layered-animation workflow nicer
more efficient, but not requiring the second editor be visible in common cases.
It also conveniently sets things up for the next few changes (already hinted at
here)...
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/space_dopesheet.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/space_dopesheet.py b/release/scripts/startup/bl_ui/space_dopesheet.py index e52d180c1cb..16dfb1d75cc 100644 --- a/release/scripts/startup/bl_ui/space_dopesheet.py +++ b/release/scripts/startup/bl_ui/space_dopesheet.py @@ -124,6 +124,10 @@ class DOPESHEET_HT_header(Header): if st.mode in {'ACTION', 'SHAPEKEY'}: layout.template_ID(st, "action", new="action.new") + row = layout.row(align=True) + row.operator("action.push_down", text="", icon='NLA_PUSHDOWN') + row.operator("action.push_down", text="", icon='FREEZE') # XXX: "stash" + # Grease Pencil mode doesn't need snapping, as it's frame-aligned only if st.mode != 'GPENCIL': layout.prop(st, "auto_snap", text="") |