Skip picking pass when plater is empty

This commit is contained in:
enricoturri1966 2021-05-20 15:34:59 +02:00
parent 2bd3e018b1
commit 6bb2982b98

View file

@ -1356,7 +1356,7 @@ void GLCanvas3D::render()
if (m_rectangle_selection.is_dragging())
// picking pass using rectangle selection
_rectangular_selection_picking_pass();
else
else if (!m_volumes.empty())
// regular picking pass
_picking_pass();
}