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 /source/blender/blenkernel/BKE_nla.h | |
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 'source/blender/blenkernel/BKE_nla.h')
-rw-r--r-- | source/blender/blenkernel/BKE_nla.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/BKE_nla.h b/source/blender/blenkernel/BKE_nla.h index 7823efc3bae..0c29179aa1c 100644 --- a/source/blender/blenkernel/BKE_nla.h +++ b/source/blender/blenkernel/BKE_nla.h @@ -47,8 +47,8 @@ void free_nlastrip(ListBase *strips, struct NlaStrip *strip); void free_nlatrack(ListBase *tracks, struct NlaTrack *nlt); void free_nladata(ListBase *tracks); -struct NlaStrip *copy_nlastrip(struct NlaStrip *strip); -struct NlaTrack *copy_nlatrack(struct NlaTrack *nlt); +struct NlaStrip *copy_nlastrip(struct NlaStrip *strip, const bool use_same_action); +struct NlaTrack *copy_nlatrack(struct NlaTrack *nlt, const bool use_same_actions); void copy_nladata(ListBase *dst, ListBase *src); struct NlaTrack *add_nlatrack(struct AnimData *adt, struct NlaTrack *prev); |