Merge branch 'convex_hull' of https://github.com/prusa3d/Slic3r into gizmos_3d

This commit is contained in:
Enrico Turri 2018-08-16 13:54:56 +02:00
commit 115744b38d
3 changed files with 11 additions and 7 deletions

View file

@ -3232,6 +3232,10 @@ void GLCanvas3D::on_mouse(wxMouseEvent& evt)
}
_on_move(volume_idxs);
// force re-selection of the wipe tower, if needed
if ((volume_idxs.size() == 1) && m_volumes.volumes[volume_idxs[0]]->is_wipe_tower)
select_volume(volume_idxs[0]);
}
else if (evt.LeftUp() && !m_mouse.dragging && (m_hover_volume_id == -1) && !gizmos_overlay_contains_mouse && !m_gizmos.is_dragging() && !is_layers_editing_enabled())
{