diff options
author | Joshua Leung <aligorith@gmail.com> | 2014-04-28 16:07:15 +0400 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2014-04-28 17:59:41 +0400 |
commit | 68c3b6350ad702195a86adfcde65687269820afd (patch) | |
tree | 468a0b3537cde7a18f7526b0ceed7ff0ae99d36e /release/scripts | |
parent | 27db75363e67f1da272fc9e4ca340e4eb8bf77d1 (diff) |
NLA Editor: Duplicate/Duplicate Linked
This commit changes the default strip duplication behaviour (Shift-D) so that it will
create a copy of whatever action it uses. Previously, it was very hard, if not impossible
in some cases to create a new copy of an action to start working on in the NLA.
If you want the old behaviour, you'll need to use ALt-D (Linked Duplicates).
(Note: Although the new Shift-D may not be so optimal in all cases, I've decided to go
with this version since it aligns better with the way this works for objects. Doing the
opposite for NLA would just have added to the confusion)
Diffstat (limited to 'release/scripts')
-rw-r--r-- | release/scripts/startup/bl_ui/space_nla.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/space_nla.py b/release/scripts/startup/bl_ui/space_nla.py index a07d2021243..ae5d308b0d3 100644 --- a/release/scripts/startup/bl_ui/space_nla.py +++ b/release/scripts/startup/bl_ui/space_nla.py @@ -133,7 +133,8 @@ class NLA_MT_edit(Menu): layout.operator_menu_enum("nla.snap", "type", text="Snap") layout.separator() - layout.operator("nla.duplicate") + layout.operator("nla.duplicate", text="Duplicate") + layout.operator("nla.duplicate", text="Linked Duplicate").linked = True layout.operator("nla.split") layout.operator("nla.delete") |