From 1a1c54612472fd28e4c23b695aa73bd7f81ffeaf Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Fri, 24 Sep 2021 15:25:49 +0200 Subject: 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... --- source/blender/blenkernel/intern/object.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/source/blender/blenkernel/intern/object.c b/source/blender/blenkernel/intern/object.c index 465ec9dc665..fbdf99c91c2 100644 --- a/source/blender/blenkernel/intern/object.c +++ b/source/blender/blenkernel/intern/object.c @@ -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); -- cgit v1.2.3