Fix some broken assertions (#7716)

Fix broken asserts
This commit is contained in:
Adam Johnston authored and GitHub committed 2024-12-14 11:17:20 +08:00
1 parent 5ec57d694a
commit 97c60be44b
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -264,7 +264,7 @@ SplittedLine do_split_line(const ClipperZUtils::ZPath& path, const ExPolygons& c
}
for (const auto segment : node) {
for (const ClipperZUtils::ZPoint& sp : *segment) {
assert(!is_clip(sp.z()));
assert(!is_clip(sp));
result.emplace_back(to_point(sp), true, sp.z());
}
result.back().clipped = false; // Mark the end of the clipped line