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

@@ -208,7 +208,7 @@ void FillCrossHatch ::_fill_surface_single(
// Apply multiline offset if needed
multiline_fill(polylines, params, spacing);
polylines = intersection_pl(polylines, to_polygons(expolygon));
polylines = intersection_pl(std::move(polylines), to_polygons(expolygon));
// --- remove small remains from gyroid infill
if (!polylines.empty()) {