Enable line infill connection even for 0 anchor length

This commit is contained in:
Martin Šach 2024-07-08 20:19:35 +02:00 committed by Lukas Matena
parent 8dbf197e4e
commit 5cc2e5eb0b

View File

@ -86,7 +86,7 @@ void FillLine::_fill_surface_single(
size_t n_polylines_out_old = polylines_out.size();
// connect lines
if (! params.dont_connect() && ! polylines.empty()) { // prevent calling leftmost_point() on empty collections
if (! polylines.empty()) { // prevent calling leftmost_point() on empty collections
// offset the expolygon by max(min_spacing/2, extra)
ExPolygon expolygon_off;
{