mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-10-08 08:11:14 +00:00
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 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Fable 5.1
parent
0b11311d40
commit
ef6d4a71de
@@ -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<double>::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
|
||||
|
||||
Reference in New Issue
Block a user