Prevented instance move event when SLA gizmo is active so right panel is not needlessly updated

This commit is contained in:
Lukas Matena 2019-03-08 09:26:30 +01:00
parent 140b86de4e
commit 8b74cc48eb

View file

@ -5498,7 +5498,7 @@ void GLCanvas3D::on_mouse(wxMouseEvent& evt)
{
// the gizmo got the event and took some action, no need to do anything more
}
else if ((m_mouse.drag.move_volume_idx != -1) && m_mouse.dragging)
else if ((m_mouse.drag.move_volume_idx != -1) && m_mouse.dragging && m_gizmos.get_current_type() != Gizmos::SlaSupports)
{
m_regenerate_volumes = false;
do_move();