1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-11 08:04:25 +00:00

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
+1 -1
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();
}