1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-11 08:04:25 +00:00

Fix build on Mac

This commit is contained in:
tamasmeszaros
2019-06-12 17:33:04 +02:00
parent d1ed3d40c1
commit e4cb75edde
+2 -2
View File
@@ -1472,8 +1472,8 @@ class SLASupportTree::Algorithm {
endp = endp - SQR2 * (gndlvl - endp(Z)) * dir; // back off
else {
if (!std::isinf(bridge_mesh_intersect(endp, DOWN, radius)))
abort_in_shame();
auto hit = bridge_mesh_intersect(endp, DOWN, radius);
if (!std::isinf(hit.distance())) abort_in_shame();
Pillar &plr = m_result.add_pillar(endp, pgnd, radius);