From 52c2f296bcd160b97f3c6eff756eacad362597aa Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Mon, 3 Aug 2020 17:17:57 +0200 Subject: Pose channel: Add session UUID Allows to identify pose channels more reliably than by the pointer. --- source/blender/editors/armature/armature_relations.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/editors/armature/armature_relations.c') diff --git a/source/blender/editors/armature/armature_relations.c b/source/blender/editors/armature/armature_relations.c index 0dd35fb9fdc..a737916e9a2 100644 --- a/source/blender/editors/armature/armature_relations.c +++ b/source/blender/editors/armature/armature_relations.c @@ -384,6 +384,7 @@ int ED_armature_join_objects_exec(bContext *C, wmOperator *op) BLI_remlink(curarm->edbo, curbone); BLI_addtail(arm->edbo, curbone); + /* Pose channel is moved from one storage to another, its UUID is still unique. */ BLI_remlink(&opose->chanbase, pchan); BLI_addtail(&pose->chanbase, pchan); BKE_pose_channels_hash_free(opose); -- cgit v1.2.3