From 9a4a41acbfe5dc44d51a0918f3eeabd1c4b45f0b Mon Sep 17 00:00:00 2001 From: Enrico Turri Date: Tue, 23 Oct 2018 11:50:30 +0200 Subject: [PATCH] New selection -> Fixed selection cleanup in GLCanvas3D::reset_volumes() --- src/slic3r/GUI/GLCanvas3D.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/slic3r/GUI/GLCanvas3D.cpp b/src/slic3r/GUI/GLCanvas3D.cpp index 7d47ff8f6..5db94b95f 100644 --- a/src/slic3r/GUI/GLCanvas3D.cpp +++ b/src/slic3r/GUI/GLCanvas3D.cpp @@ -2893,11 +2893,11 @@ void GLCanvas3D::reset_volumes() return; #endif // !ENABLE_USE_UNIQUE_GLCONTEXT - m_volumes.release_geometry(); - m_volumes.clear(); #if ENABLE_EXTENDED_SELECTION m_selection.clear(); #endif // ENABLE_EXTENDED_SELECTION + m_volumes.release_geometry(); + m_volumes.clear(); m_dirty = true; }