This commit is contained in:
Filip Sykala - NTB T15p 2023-02-14 18:16:05 +01:00
parent f42ae64277
commit 89ff154f9b

View File

@ -799,8 +799,6 @@ bool GLGizmoEmboss::on_mouse_for_translate(const wxMouseEvent &mouse_event)
}
// Calculate offset: transformation to wanted position
Transform3d hit_to_world = m_raycast_manager.get_transformation(hit->tr_key);
//priv::reset_skew(hit_to_world);
Transform3d hit_to_instance = hit_to_world * m_surface_drag->instance_inv;
Transform3d hit_to_volume = hit_to_instance * m_surface_drag->volume_tr.inverse();