Fixed selection of multimaterial objects

This commit is contained in:
Enrico Turri 2018-07-25 08:40:34 +02:00
parent 23e51cd941
commit 2107ea7702

View file

@ -2816,7 +2816,7 @@ void GLCanvas3D::on_mouse(wxMouseEvent& evt)
{
if (v != nullptr)
{
if ((m_mouse.drag.move_with_shift && (v->select_group_id == group_id)) || (v->drag_group_id == group_id))
if ((m_mouse.drag.move_with_shift && (v->select_group_id == group_id)) || (!m_mouse.drag.move_with_shift && (v->drag_group_id == group_id)))
volumes.push_back(v);
}
}