Fix T91240: Object duplication was duplicating its action twice.
Weird that this was not reported before, this was creating a lot of extra actions everytime...
This commit is contained in:
@@ -2656,8 +2656,6 @@ Object *BKE_object_duplicate(Main *bmain,
|
||||
return obn;
|
||||
}
|
||||
|
||||
BKE_animdata_duplicate_id_action(bmain, &obn->id, dupflag);
|
||||
|
||||
if (dupflag & USER_DUP_MAT) {
|
||||
for (int i = 0; i < obn->totcol; i++) {
|
||||
BKE_id_copy_for_duplicate(bmain, (ID *)obn->mat[i], dupflag);
|
||||
|
Reference in New Issue
Block a user