Fix T72935: Applying transform to parent mesh changes rotation of children using quaternions

`ob->quat` is `v4`.
This commit is contained in:
Germano Cavalcante 2020-01-07 12:42:37 -03:00
parent e665c2c893
commit bd766f8f06
Notes: blender-bot 2023-02-14 03:44:41 +01:00
Referenced by issue #72935, Applying transform to a parent mesh with a child node using quaternions visibly changes rotation of child
1 changed files with 1 additions and 1 deletions

View File

@ -1323,7 +1323,7 @@ void BKE_object_transform_copy(Object *ob_tar, const Object *ob_src)
{
copy_v3_v3(ob_tar->loc, ob_src->loc);
copy_v3_v3(ob_tar->rot, ob_src->rot);
copy_v3_v3(ob_tar->quat, ob_src->quat);
copy_v4_v4(ob_tar->quat, ob_src->quat);
copy_v3_v3(ob_tar->rotAxis, ob_src->rotAxis);
ob_tar->rotAngle = ob_src->rotAngle;
ob_tar->rotmode = ob_src->rotmode;