Animation: Add in Parent space alignment option to the Transform Orientation gizmo #104724

Merged
Nate Rupsis merged 47 commits from nrupsis/blender:parent-space into main 2023-04-20 17:40:31 +02:00
1 changed files with 1 additions and 2 deletions
Showing only changes of commit 07324b754c - Show all commits

View File

@ -544,8 +544,7 @@ short ED_transform_calc_orientation_from_type_ex(const Scene *scene,
else {
// handle the parent check at object level
if (ob->parent) {
ED_getTransformOrientationMatrix(
scene, view_layer, v3d, ob->parent, obedit, pivot_point, r_mat);
transform_orientations_create_from_axis(r_mat, UNPACK3(ob->parent->object_to_world));
}
else {
unit_m3(r_mat);