NLA: Push down Action names the Track after the Action
When pushing down an Action to a new NLA track, the track is now named after the Action.
This commit is contained in:
parent
2c9fe719e6
commit
78fe6d7ab1
|
@ -464,6 +464,7 @@ NlaStrip *BKE_nlastack_add_strip(AnimData *adt, bAction *act, const bool is_libo
|
|||
*/
|
||||
nlt = BKE_nlatrack_add(adt, NULL, is_liboverride);
|
||||
BKE_nlatrack_add_strip(nlt, strip, is_liboverride);
|
||||
BLI_strncpy(nlt->name, act->id.name + 2, sizeof(nlt->name));
|
||||
}
|
||||
|
||||
/* automatically name it too */
|
||||
|
|
Loading…
Reference in New Issue