Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEnrico Turri <enricoturri@seznam.cz>2019-06-11 10:59:33 +0300
committerEnrico Turri <enricoturri@seznam.cz>2019-06-12 11:57:20 +0300
commitabdb5c5d742f17457f5fe0bec572f1fa668e6344 (patch)
tree44a07d78eee947fb3ec8bdc2a89c2848b7997f7a /src/slic3r/GUI/Selection.cpp
parentd07b3fb08b5f8e81899a4772f8219fde49ef2126 (diff)
Fixed conflicts after git cherry-picking 39cfe819daeb7dd71bae5ff20edfbe6396dffbe8
Diffstat (limited to 'src/slic3r/GUI/Selection.cpp')
-rw-r--r--src/slic3r/GUI/Selection.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/slic3r/GUI/Selection.cpp b/src/slic3r/GUI/Selection.cpp
index ff994c32d..480b59ba0 100644
--- a/src/slic3r/GUI/Selection.cpp
+++ b/src/slic3r/GUI/Selection.cpp
@@ -296,6 +296,9 @@ void Selection::clear()
if (!m_valid)
return;
+ if (m_list.empty())
+ return;
+
for (unsigned int i : m_list)
{
(*m_volumes)[i]->selected = false;