Fixed wipe tower loosing selection after displacement

This commit is contained in:
Enrico Turri 2018-08-16 13:22:02 +02:00
parent 4d98d32199
commit 2c9b41623a

View File

@ -3017,6 +3017,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 (!m_mouse.dragging && (m_hover_volume_id == -1) && !gizmos_overlay_contains_mouse && !m_gizmos.is_dragging() && !is_layers_editing_enabled())
{