diff --git a/xs/src/libslic3r/SLAPrint.cpp b/xs/src/libslic3r/SLAPrint.cpp index fdc7c4d3a..ceb89018e 100644 --- a/xs/src/libslic3r/SLAPrint.cpp +++ b/xs/src/libslic3r/SLAPrint.cpp @@ -189,10 +189,11 @@ SLAPrint::_infill_layer(size_t i, const Fill* _fill) fill->z = layer.print_z; ExtrusionPath templ(erInternalInfill); - templ.width = fill->spacing(); + const ExPolygons internal_ex = intersection_ex(infill, internal); for (ExPolygons::const_iterator it = internal_ex.begin(); it != internal_ex.end(); ++it) { Polylines polylines = fill->fill_surface(Surface(stInternal, *it)); + templ.width = fill->spacing(); // fill->spacing doesn't have anything defined until after fill_surface layer.infill.append(polylines, templ); } }