From 2d7a3165d447c65de44e7a3a41009c30fe16ad3e Mon Sep 17 00:00:00 2001 From: thysson2701 Date: Wed, 22 Jul 2026 14:30:03 +0200 Subject: [PATCH] fix(build): Point3 for Points3 access in texture seam sampling loop --- 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 5f341cf7e6f..464e1516ac3 100644 --- a/src/libslic3r/GCode.cpp +++ b/src/libslic3r/GCode.cpp @@ -10337,8 +10337,8 @@ std::optional GCode::texture_mapping_seam_hiding_hint(const }; for (size_t point_idx = 1; point_idx < points.size(); ++point_idx) { - const Point &a = points[point_idx - 1]; - const Point &b = points[point_idx]; + const Point3 &a = points[point_idx - 1]; + const Point3 &b = points[point_idx]; const double len_mm = unscale((b - a).cast().norm()); if (len_mm <= EPSILON) continue;