mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-13 05:09:01 +08:00
Fix crash after SL1 import
This commit is contained in:
parent
e11b8135ff
commit
7fce368cca
@ -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
|
// the call mesh.is_splittable() is expensive, so cache the value to calculate it only once
|
||||||
if (m_is_splittable == -1)
|
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;
|
return m_is_splittable == 1;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user