Tweaks to selection from 3D scene

This commit is contained in:
Enrico Turri 2019-04-09 15:42:00 +02:00
parent c17e8602ed
commit 0889877e26
4 changed files with 11 additions and 10 deletions

View file

@ -2569,8 +2569,7 @@ void GLCanvas3D::on_mouse(wxMouseEvent& evt)
m_selection.remove(m_hover_volume_id);
else
{
bool add_as_single = !already_selected && !ctrl_down;
m_selection.add(m_hover_volume_id, add_as_single);
m_selection.add(m_hover_volume_id, !ctrl_down);
m_mouse.drag.move_requires_threshold = !already_selected;
if (already_selected)
m_mouse.set_move_start_threshold_position_2D_as_invalid();