mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-02 05:50:42 +08:00
Properly retrieve the fill spacing for internal infill. Fixes #4319
This commit is contained in:
parent
75302fffc1
commit
db17a63436
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user