1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-14 08:34:26 +00:00

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
+1 -1
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();