From ef6d4a71def3c194574c4dfbc7daca932e99c49d Mon Sep 17 00:00:00 2001 From: harrierpigeon Date: Wed, 7 Oct 2026 05:24:58 -0500 Subject: [PATCH] Tests: qualify Polyline in the belt overhang test for Windows Windows headers declare a global Polyline, so the unqualified name in test_print.cpp is ambiguous there (both Windows builds of belt-printer fail at tests/fff_print/test_print.cpp:1336), as Polygon was in #16196. Co-Authored-By: Claude Fable 5.1 --- tests/fff_print/test_print.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/fff_print/test_print.cpp b/tests/fff_print/test_print.cpp index 0f1d33c67f..32c37882f5 100644 --- a/tests/fff_print/test_print.cpp +++ b/tests/fff_print/test_print.cpp @@ -1395,7 +1395,7 @@ TEST_CASE("Belt supports reach the belt under a leading overhang", "[Print][belt REQUIRE(lowest != nullptr); double floor_under_lowest = std::numeric_limits::max(); for (const ExtrusionEntity *entity : lowest->support_fills.flatten().entities) - for (const Polyline &pl : entity->as_polylines()) + for (const Slic3r::Polyline &pl : entity->as_polylines()) for (const Point &pt : pl.points) floor_under_lowest = std::min(floor_under_lowest, floor.floor_print_z(pt)); // The object's lowest geometry. The slicing frame starts at the lowest