Fix crash after SL1 import

This commit is contained in:
tamasmeszaros 2021-06-29 11:40:50 +02:00
parent e11b8135ff
commit 7fce368cca

View File

@ -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;
}