Bugfix: Old NLA Strips from 2.4x got converted with no names (since they didn't use to have any)

This commit is contained in:
Joshua Leung
2015-02-13 02:11:17 +13:00
parent 7221fbe9dd
commit 5c02afb698

View File

@@ -1651,6 +1651,9 @@ static void nlastrips_to_animdata(ID *id, ListBase *strips)
nlt = add_nlatrack(adt, NULL);
BKE_nlatrack_add_strip(nlt, strip);
}
/* ensure that strip has a name */
BKE_nlastrip_validate_name(adt, strip);
}
/* modifiers */