mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-10-12 18:31:59 +02:00
Fix sla tests on mac
This commit is contained in:
1 parent
d30808c36c
commit
2f422f5dbe
1 file changed
+1
-1
@@ -208,7 +208,7 @@ void check_support_tree_integrity(const sla::SupportTreeBuilder &stree,
|
|||||||
};
|
};
|
||||||
|
|
||||||
for (auto &bridge : stree.bridges()) chck_bridge(bridge, max_bridgelen);
|
for (auto &bridge : stree.bridges()) chck_bridge(bridge, max_bridgelen);
|
||||||
REQUIRE(max_bridgelen <= cfg.max_bridge_length_mm);
|
REQUIRE(max_bridgelen <= Approx(cfg.max_bridge_length_mm));
|
||||||
|
|
||||||
max_bridgelen = 0;
|
max_bridgelen = 0;
|
||||||
for (auto &bridge : stree.crossbridges()) chck_bridge(bridge, max_bridgelen);
|
for (auto &bridge : stree.crossbridges()) chck_bridge(bridge, max_bridgelen);
|
||||||
|
|||||||
Reference in new issue
Block a user