Small fix for double bridging issue with very close pillars

This commit is contained in:
tamasmeszaros 2018-12-21 13:10:37 +01:00
parent 22f95d4b43
commit 72e9a2615f

View file

@ -1244,7 +1244,7 @@ bool SLASupportTree::generate(const PointSet &points,
result.add_bridge(sj, ej, pillar.r);
// double bridging: (crosses)
if(bridge_distance > 2*cfg.base_radius_mm) {
if(pillar_dist > 2*cfg.base_radius_mm) {
// If the columns are close together, no need to
// double bridge them
Vec3d bsj(ej(X), ej(Y), sj(Z));