Fix junction made below ground level.
This commit is contained in:
parent
a68564e2d0
commit
7c655b5d7e
1 changed files with 2 additions and 3 deletions
|
@ -1333,9 +1333,8 @@ void SupportTreeBuildsteps::interconnect_pillars()
|
|||
if (distance(pillarsp, s) < t)
|
||||
m_builder.add_bridge(pillarsp, s, pillar().r);
|
||||
|
||||
if (pillar().endpoint()(Z) > m_builder.ground_level)
|
||||
m_builder.add_junction(pillar().endpoint(),
|
||||
pillar().r);
|
||||
if (pillar().endpoint()(Z) > m_builder.ground_level + pillar().r)
|
||||
m_builder.add_junction(pillar().endpoint(), pillar().r);
|
||||
|
||||
newpills.emplace_back(pp.id);
|
||||
m_builder.increment_links(pillar());
|
||||
|
|
Loading…
Reference in a new issue