FIX: gizmo rotate

jira: no-jira

Change-Id: I30f347b8946389e1375aa8f7f32e0834015dd153
This commit is contained in:
jun.zhang 2025-03-25 21:24:46 +08:00 committed by lane.wei
parent 8c755cbca1
commit 26f107dbe8
1 changed files with 0 additions and 3 deletions

View File

@ -489,9 +489,6 @@ Transform3d GLGizmoRotate::transform_to_local(const Selection &selection) const
} }
} }
if (selection.is_single_volume() || selection.is_single_modifier() || selection.requires_local_axes())
ret = selection.get_volume(*selection.get_volume_idxs().begin())->get_instance_transformation().get_matrix(true, false, true, true) * ret;
return m_orient_matrix * ret; return m_orient_matrix * ret;
} }