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:
parent
e1e380ba38
commit
1a1c546124
Notes:
blender-bot
2023-02-14 10:11:54 +01:00
Referenced by issue #91240, Full copy of scene causes failed assertion '(id_iter->tag & LIB_TAG_NEW) == 0'
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue