mirror of
https://git.mirrors.martin98.com/https://github.com/bambulab/BambuStudio.git
synced 2025-09-28 21:03:12 +08:00
FIX: gizmo rotate
jira: no-jira Change-Id: I30f347b8946389e1375aa8f7f32e0834015dd153
This commit is contained in:
parent
8c755cbca1
commit
26f107dbe8
@ -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;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user