From 7fce368cca404ff0935a522cf2316efbded6ccfd Mon Sep 17 00:00:00 2001 From: tamasmeszaros Date: Tue, 29 Jun 2021 11:40:50 +0200 Subject: [PATCH] Fix crash after SL1 import --- src/libslic3r/Model.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libslic3r/Model.cpp b/src/libslic3r/Model.cpp index 3ddf65333..a382a4258 100644 --- a/src/libslic3r/Model.cpp +++ b/src/libslic3r/Model.cpp @@ -1640,7 +1640,7 @@ bool ModelVolume::is_splittable() const { // the call mesh.is_splittable() is expensive, so cache the value to calculate it only once if (m_is_splittable == -1) - m_is_splittable = (int)this->mesh().is_splittable(); + m_is_splittable = its_is_splittable(this->mesh().its); return m_is_splittable == 1; }