From 3259f12b0442078d3eaea707c5c910a66aa27615 Mon Sep 17 00:00:00 2001 From: thysson2701 Date: Tue, 21 Jul 2026 22:04:41 +0200 Subject: [PATCH] fix(build): Point3->Point conversion for wipe-loop angle detection in GCode.cpp --- src/libslic3r/GCode.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libslic3r/GCode.cpp b/src/libslic3r/GCode.cpp index 72084eba9e3..2ead5d3682c 100644 --- a/src/libslic3r/GCode.cpp +++ b/src/libslic3r/GCode.cpp @@ -10554,8 +10554,8 @@ std::string GCode::extrude_loop(ExtrusionLoop loop, std::string description, dou // the side depends on the original winding order of the polygon (inwards for contours, outwards for holes) //FIXME improve the algorithm in case the loop is tiny. //FIXME improve the algorithm in case the loop is split into segments with a low number of points (see the Point b query). - Point a = paths.front().polyline.points[1]; // second point - Point b = *(paths.back().polyline.points.end()-3); // second to last point + Point a = paths.front().polyline.points[1].to_point(); // second point + Point b = (paths.back().polyline.points.end()-3)->to_point(); // second to last point if (is_hole == loop.is_counter_clockwise()) { // swap points Point c = a; a = b; b = c;