From bb8866ca372378cbec748fc3e42832d7d73c2f3b Mon Sep 17 00:00:00 2001 From: tamasmeszaros Date: Tue, 15 Jan 2019 14:41:45 +0100 Subject: [PATCH] Quick fix for visible bridges under the pillar base. --- src/libslic3r/SLA/SLASupportTree.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libslic3r/SLA/SLASupportTree.cpp b/src/libslic3r/SLA/SLASupportTree.cpp index 59d03039a..6477010fd 100644 --- a/src/libslic3r/SLA/SLASupportTree.cpp +++ b/src/libslic3r/SLA/SLASupportTree.cpp @@ -1248,8 +1248,8 @@ bool SLASupportTree::generate(const PointSet &points, // there is no need to bridge them together. if(pillar_dist > 2*cfg.head_back_radius_mm && bridge_distance < cfg.max_bridge_length_mm) - while(sj(Z) > pillar.endpoint(Z) && - ej(Z) > nextpillar.endpoint(Z)) + while(sj(Z) > pillar.endpoint(Z) + cfg.base_radius_mm && + ej(Z) > nextpillar.endpoint(Z) + + cfg.base_radius_mm) { if(chkd >= bridge_distance) { result.add_bridge(sj, ej, pillar.r);