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
This commit is contained in:
Red Mser 2020-08-25 11:49:43 +02:00 committed by Philipp Oeser
parent 263cf2ea94
commit 3ea324488a
Notes: blender-bot 2023-02-14 05:37:19 +01:00
Referenced by issue #80016, Duplicated object share Shape Key Animation Data like linked
1 changed files with 1 additions and 1 deletions

View File

@ -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. */