Tech ENABLE_WORLD_COORDINATE - Fixed rotation of wipe tower

This commit is contained in:
enricoturri1966 2022-12-15 12:48:48 +01:00
parent f02478f14c
commit 58688139fd
2 changed files with 63 additions and 1 deletions

View file

@ -614,7 +614,7 @@ bool GLGizmoRotate3D::on_mouse(const wxMouseEvent &mouse_event)
#if ENABLE_WORLD_COORDINATE
TransformationType transformation_type;
if (m_parent.get_selection().is_wipe_tower())
transformation_type = TransformationType::Instance_Relative_Joint;
transformation_type = TransformationType::World_Relative_Joint;
else {
switch (wxGetApp().obj_manipul()->get_coordinates_type())
{