Small memory optimization for some infills (#12063)

This commit is contained in:
Rodrigo Faselli
2026-02-03 12:46:31 -03:00
committed by GitHub
parent b954749310
commit 72a2eaf82e
5 changed files with 5 additions and 5 deletions

View File

@@ -58,7 +58,7 @@ void FillLine::_fill_surface_single(
pts.push_back(it->a);
pts.push_back(it->b);
}
Polylines polylines = intersection_pl(polylines_src, offset(expolygon, scale_(0.02)));
Polylines polylines = intersection_pl(std::move(polylines_src), offset(expolygon, scale_(0.02)));
// FIXME Vojtech: This is only performed for horizontal lines, not for the vertical lines!
const float INFILL_OVERLAP_OVER_SPACING = 0.3f;