diff options
author | Enrico Turri <enricoturri@seznam.cz> | 2018-08-16 14:22:02 +0300 |
---|---|---|
committer | Enrico Turri <enricoturri@seznam.cz> | 2018-08-16 14:22:02 +0300 |
commit | 2c9b41623a3d003134501fa66bfe9c1947ca2db4 (patch) | |
tree | 11082a0322cd79167b70c81e9a1793ad9ccbde9e /xs/src/slic3r | |
parent | 4d98d321996de6e6d036403c319b6ef044144dcd (diff) |
Fixed wipe tower loosing selection after displacement
Diffstat (limited to 'xs/src/slic3r')
-rw-r--r-- | xs/src/slic3r/GUI/GLCanvas3D.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/xs/src/slic3r/GUI/GLCanvas3D.cpp b/xs/src/slic3r/GUI/GLCanvas3D.cpp index 92bde34ce..f5122539e 100644 --- a/xs/src/slic3r/GUI/GLCanvas3D.cpp +++ b/xs/src/slic3r/GUI/GLCanvas3D.cpp @@ -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()) { |