mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-11-09 03:12:26 +00:00
Fix build on Mac
This commit is contained in:
1 parent
d1ed3d40c1
commit
e4cb75edde
1 file changed
+2
-2
@@ -1472,8 +1472,8 @@ class SLASupportTree::Algorithm {
|
|||||||
endp = endp - SQR2 * (gndlvl - endp(Z)) * dir; // back off
|
endp = endp - SQR2 * (gndlvl - endp(Z)) * dir; // back off
|
||||||
else {
|
else {
|
||||||
|
|
||||||
if (!std::isinf(bridge_mesh_intersect(endp, DOWN, radius)))
|
auto hit = bridge_mesh_intersect(endp, DOWN, radius);
|
||||||
abort_in_shame();
|
if (!std::isinf(hit.distance())) abort_in_shame();
|
||||||
|
|
||||||
Pillar &plr = m_result.add_pillar(endp, pgnd, radius);
|
Pillar &plr = m_result.add_pillar(endp, pgnd, radius);
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user