Fixed crash on reslicing after infill invalidation.

The crash was introduced with sorting the extrusions into islands.
This commit is contained in:
Vojtech Bubnik 2022-11-28 10:07:22 +01:00
parent af6b022878
commit e6d10fc747
4 changed files with 14 additions and 4 deletions

View file

@ -443,6 +443,7 @@ void Layer::make_perimeters()
layerm.m_fill_expolygons_composite_bboxes.clear();
};
// Remove layer islands, remove references to perimeters and fills from these layer islands to LayerRegion ExtrusionEntities.
for (LayerSlice &lslice : this->lslices_ex)
lslice.islands.clear();