Skip picking pass when plater is empty
This commit is contained in:
parent
2bd3e018b1
commit
6bb2982b98
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue