fix(build): Point3 for Points3 access in texture seam sampling loop

This commit is contained in:
thysson2701
2026-07-22 14:30:03 +02:00
parent a827f9358b
commit 2d7a3165d4

View File

@@ -10337,8 +10337,8 @@ std::optional<PreferredSeamPoint> 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<double>((b - a).cast<double>().norm());
if (len_mm <= EPSILON)
continue;