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:
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
|
@ -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. */
|
||||
|
|
Loading…
Reference in New Issue