From 6bb2982b98644916d721cadd627ebc9fbc2e38ac Mon Sep 17 00:00:00 2001 From: enricoturri1966 Date: Thu, 20 May 2021 15:34:59 +0200 Subject: [PATCH] Skip picking pass when plater is empty --- src/slic3r/GUI/GLCanvas3D.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slic3r/GUI/GLCanvas3D.cpp b/src/slic3r/GUI/GLCanvas3D.cpp index 3829ab0d1..734bc24aa 100644 --- a/src/slic3r/GUI/GLCanvas3D.cpp +++ b/src/slic3r/GUI/GLCanvas3D.cpp @@ -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(); }