Apply branch length setting from UI for branching tree
This commit is contained in:
parent
4c3ba3f6bf
commit
5d6d1f5234
@ -227,7 +227,8 @@ void create_branching_tree(SupportTreeBuilder &builder, const SupportableMesh &s
|
||||
auto props = branchingtree::Properties{}
|
||||
.bed_shape(bedpolys)
|
||||
.ground_level(sla::ground_level(sm))
|
||||
.max_slope(sm.cfg.bridge_slope);
|
||||
.max_slope(sm.cfg.bridge_slope)
|
||||
.max_branch_length(sm.cfg.max_bridge_length_mm);
|
||||
|
||||
branchingtree::PointCloud nodes{its, std::move(leafs), props};
|
||||
BranchingTreeBuilder vbuilder{builder, sm, nodes};
|
||||
|
Loading…
Reference in New Issue
Block a user