Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortamasmeszaros <meszaros.q@gmail.com>2019-06-12 18:33:04 +0300
committertamasmeszaros <meszaros.q@gmail.com>2019-06-12 18:33:04 +0300
commite4cb75eddeaecb6a6c2b6d9694113c8fd82b59f4 (patch)
tree3859e23124df5db0a458919fff4e81962b29cb91 /src/libslic3r/SLA
parentd1ed3d40c1c1da26f6d0b0da9e2d54a928050796 (diff)
Fix build on Mac
Diffstat (limited to 'src/libslic3r/SLA')
-rw-r--r--src/libslic3r/SLA/SLASupportTree.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libslic3r/SLA/SLASupportTree.cpp b/src/libslic3r/SLA/SLASupportTree.cpp
index 4910226cc..b74f73d17 100644
--- a/src/libslic3r/SLA/SLASupportTree.cpp
+++ b/src/libslic3r/SLA/SLASupportTree.cpp
@@ -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);