From 1c68e19aca490d33fc4e99c8ad3d02458b7afcf0 Mon Sep 17 00:00:00 2001 From: Noisyfox Date: Sun, 22 Dec 2024 20:52:02 +0800 Subject: [PATCH] Update to latest code from PS --- src/libslic3r/Arachne/WallToolPaths.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libslic3r/Arachne/WallToolPaths.cpp b/src/libslic3r/Arachne/WallToolPaths.cpp index 55aabd9b02..8f2b04cf42 100644 --- a/src/libslic3r/Arachne/WallToolPaths.cpp +++ b/src/libslic3r/Arachne/WallToolPaths.cpp @@ -361,7 +361,7 @@ void removeSmallAreas(Polygons &thiss, const double min_area_size, const bool re } } else { // For each polygon, computes the signed area, move small outlines at the end of the vector and keep pointer on small holes - std::vector small_holes; + Polygons small_holes; for (auto it = thiss.begin(); it < new_end;) { if (double area = ClipperLib::Area(to_path(*it)); fabs(area) < min_area_size) { if (area >= 0) {