Another fix for crashing support generation.

This commit is contained in:
tamasmeszaros 2018-12-12 15:51:39 +01:00
parent dfc92fb5cf
commit 623b2cec5c
2 changed files with 6 additions and 3 deletions

View file

@ -469,7 +469,7 @@ void SLAPrint::process()
for(float h = minZ + ilh; h < maxZ; h += flh)
if(h >= gnd) heights.emplace_back(h);
auto& layers = po.m_model_slices;
auto& layers = po.m_model_slices; layers.clear();
slicer.slice(heights, &layers, [this](){ throw_if_canceled(); });
};