diff options
author | Sergey Sharybin <sergey@blender.org> | 2020-08-03 18:17:57 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey@blender.org> | 2020-08-04 12:40:09 +0300 |
commit | 52c2f296bcd160b97f3c6eff756eacad362597aa (patch) | |
tree | 115eb73835473188af91bad7e9e614360276f2c9 /source/blender/editors | |
parent | 51af20b8561b39d41ecd91abbeae7348dc1d4cdf (diff) |
Pose channel: Add session UUID
Allows to identify pose channels more reliably than by the pointer.
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/armature/armature_relations.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |