Fixed lighting infill crash.

TODO filtering of small ensuring regions
This commit is contained in:
PavelMikus 2023-03-10 16:59:21 +01:00 committed by Pavel Mikuš
parent d223eef38d
commit 76209d89ff
2 changed files with 18 additions and 15 deletions
src/libslic3r/Fill

View file

@ -657,6 +657,7 @@ Polylines Layer::generate_sparse_infill_polylines_for_anchoring(FillAdaptive::Oc
case ipLightning: {
auto polylines = to_polylines(shrink_ex(surface_fill.expolygons, 5.0 * surface_fill.params.flow.scaled_spacing()));
sparse_infill_polylines.insert(sparse_infill_polylines.end(), polylines.begin(), polylines.end());
continue;
}; break;
case ipCount: continue; break;
case ipSupportBase: continue; break;