mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-07-13 20:41:48 +08:00
Skip picking pass when plater is empty
This commit is contained in:
parent
2bd3e018b1
commit
6bb2982b98
@ -1356,7 +1356,7 @@ void GLCanvas3D::render()
|
|||||||
if (m_rectangle_selection.is_dragging())
|
if (m_rectangle_selection.is_dragging())
|
||||||
// picking pass using rectangle selection
|
// picking pass using rectangle selection
|
||||||
_rectangular_selection_picking_pass();
|
_rectangular_selection_picking_pass();
|
||||||
else
|
else if (!m_volumes.empty())
|
||||||
// regular picking pass
|
// regular picking pass
|
||||||
_picking_pass();
|
_picking_pass();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user