Fixed assert in Lightning infill (merging empty BoundingBoxes).
This commit is contained in:
parent
cf16dafad9
commit
ae377bd28c
@ -125,6 +125,7 @@ void Generator::generateTrees(const PrintObject &print_object, const std::functi
|
||||
if (const BoundingBox &outlines_locator_bbox = outlines_locator.bbox(); outlines_locator_bbox.defined)
|
||||
below_outlines_bbox.merge(outlines_locator_bbox);
|
||||
|
||||
if (!current_lightning_layer.tree_roots.empty())
|
||||
below_outlines_bbox.merge(get_extents(current_lightning_layer.tree_roots).inflated(SCALED_EPSILON));
|
||||
|
||||
outlines_locator.set_bbox(below_outlines_bbox);
|
||||
|
Loading…
Reference in New Issue
Block a user