Fix bug when mini pillar widens and the end radius is too small.

only affects SLA default supports 
fixes SPE-1542
This commit is contained in:
tamasmeszaros 2023-03-01 13:37:29 +01:00
parent e571a857e6
commit 1749f74578

View File

@ -141,6 +141,7 @@ std::pair<bool, long> create_ground_pillar(
if (head_id >= 0) builder.head(head_id).bridge_id = br.id;
endp = diffbr->endp;
radius = diffbr->end_r;
end_radius = diffbr->end_r;
builder.add_junction(endp, radius);
non_head = true;
dir = diffbr->get_dir();