Hook for manipulation relativity for rotation gizmo

This commit is contained in:
Filip Sykala - NTB T15p 2022-09-13 16:21:08 +02:00
parent d0ffe16964
commit 61e2cc2403
3 changed files with 7 additions and 12 deletions

View file

@ -286,7 +286,8 @@ void GLGizmoRotate::on_render_for_picking()
void GLGizmoRotate::init_data_from_selection(const Selection& selection)
{
ECoordinatesType coordinates_type;
if (selection.is_wipe_tower())
if (m_using_local_coordinate ||
selection.is_wipe_tower())
coordinates_type = ECoordinatesType::Local;
else
coordinates_type = wxGetApp().obj_manipul()->get_coordinates_type();