Fix T92861: Transform fails for multiple pose object sharing ob-data

Support transforming two pose objects at once even when they share
object data as this is per-object.
This commit is contained in:
Campbell Barton 2022-03-08 15:13:53 +11:00
parent 3c889fe2b0
commit 63ac1660c0
Notes: blender-bot 2023-02-14 02:58:19 +01:00
Referenced by issue #92861, Selection bug when multi-editing different armature objects sharing the same armature obdata
1 changed files with 2 additions and 1 deletions

View File

@ -1113,7 +1113,8 @@ static void init_TransDataContainers(TransInfo *t,
&objects_len,
{
.object_mode = object_mode,
.no_dup_data = true,
/* Pose transform operates on `ob->pose` so don't skip duplicate object-data. */
.no_dup_data = (object_mode & OB_MODE_POSE) == 0,
});
free_objects = true;
}