Rotate gizmo radius changed only when moving one of multiple instances

This commit is contained in:
Enrico Turri 2018-07-12 15:19:43 +02:00
commit 0f5ce827a1
2 changed files with 8 additions and 58 deletions

View file

@ -3017,7 +3017,7 @@ void GLCanvas3D::on_mouse(wxMouseEvent& evt)
m_on_update_geometry_info_callback.call(size.x, size.y, size.z, m_gizmos.get_scale());
}
if (volumes.size() > 1)
if ((m_gizmos.get_current_type() != Gizmos::Rotate) && (volumes.size() > 1))
m_gizmos.refresh();
m_dirty = true;