diff --git a/xs/src/libslic3r/PrintObject.cpp b/xs/src/libslic3r/PrintObject.cpp index ee92b97c11..b5506593c6 100644 --- a/xs/src/libslic3r/PrintObject.cpp +++ b/xs/src/libslic3r/PrintObject.cpp @@ -1664,7 +1664,7 @@ PrintObject::_discover_neighbor_horizontal_shells(LayerRegion* layerm, const siz append_to(tmp, to_polygons(internal)); const auto solid_surfaces = diff_ex(to_polygons(s), tmp, true); - neighbor_layerm->fill_surfaces.append(solid_surfaces, s.front()->surface_type); + neighbor_layerm->fill_surfaces.append(solid_surfaces, *s.front()); } } }