diff options
author | Bastien Montagne <bastien@blender.org> | 2021-09-24 16:25:49 +0300 |
---|---|---|
committer | Bastien Montagne <bastien@blender.org> | 2021-09-24 16:25:49 +0300 |
commit | 1a1c54612472fd28e4c23b695aa73bd7f81ffeaf (patch) | |
tree | e5f486efd386037c940d9c05fa93e514d2871135 | |
parent | e1e380ba388fbe514b38c3023ca9eb02cc2c78ee (diff) |
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...
-rw-r--r-- | source/blender/blenkernel/intern/object.c | 2 |
1 files changed, 0 insertions, 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); |