[Bf-blender-cvs] [3ea324488ac] blender-v2.90-release: Fix T80016: Shape key animation is linked when duplicating object

Red Mser noreply at git.blender.org
Tue Aug 25 12:16:00 CEST 2020


Commit: 3ea324488ac9a45cb96d6fc98f4021a38e2ff20f
Author: Red Mser
Date:   Tue Aug 25 11:49:43 2020 +0200
Branches: blender-v2.90-release
https://developer.blender.org/rB3ea324488ac9a45cb96d6fc98f4021a38e2ff20f

Fix T80016: Shape key animation is linked when duplicating object

Fix T80016

Caused by a typo in rB7b1c406b5431ce65d84ddb5f2c53977c25c18373

Reviewed By: mont29, dfelinto

Maniphest Tasks: T80016

Differential Revision: https://developer.blender.org/D8693

===================================================================

M	source/blender/blenkernel/intern/lib_id.c

===================================================================

diff --git a/source/blender/blenkernel/intern/lib_id.c b/source/blender/blenkernel/intern/lib_id.c
index a64e550579d..2052a1e8536 100644
--- a/source/blender/blenkernel/intern/lib_id.c
+++ b/source/blender/blenkernel/intern/lib_id.c
@@ -640,7 +640,7 @@ ID *BKE_id_copy_for_duplicate(Main *bmain, ID *id, const eDupli_ID_Flags duplica
 
     BKE_animdata_duplicate_id_action(bmain, id_new, duplicate_flags);
     if (key_new != NULL) {
-      BKE_animdata_duplicate_id_action(bmain, id_new, duplicate_flags);
+      BKE_animdata_duplicate_id_action(bmain, key_new, duplicate_flags);
     }
     /* Note that actions of embedded data (root nodetrees and master collections) are handled
      * by `BKE_animdata_duplicate_id_action` as well. */



More information about the Bf-blender-cvs mailing list