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
src/libslic3r

View file

@ -131,6 +131,7 @@ void PrintObject::make_perimeters()
// Revert the typed slices into untyped slices.
if (m_typed_slices) {
for (Layer *layer : m_layers) {
layer->clear_fills();
layer->restore_untyped_slices();
m_print->throw_if_canceled();
}