Fix T100606: Apply object transform fails with delta quaternion rotation

Apply transform failed to clear delta quaternion & axis-angle rotation.
This commit is contained in:
Campbell Barton 2022-08-24 17:19:31 +10:00
parent 62bd007646
commit 62f764fad7
Notes: blender-bot 2023-02-14 08:49:53 +01:00
Referenced by issue #88449: Blender LTS: Maintenance Task 2.93
Referenced by issue #88449, Blender LTS: Maintenance Task 2.93
Referenced by issue #100606, Apply object transform fails with delta quaternion rotation
1 changed files with 2 additions and 0 deletions

View File

@ -1033,7 +1033,9 @@ static int apply_objects_internal(bContext *C,
zero_v3(ob->rot);
zero_v3(ob->drot);
unit_qt(ob->quat);
unit_qt(ob->dquat);
unit_axis_angle(ob->rotAxis, &ob->rotAngle);
unit_axis_angle(ob->drotAxis, &ob->drotAngle);
}
}