Fix of a crash in bridging over sparse #9996
This commit is contained in:
parent
906ccadfbc
commit
ca0b218a56
@ -1658,7 +1658,9 @@ void PrintObject::bridge_over_infill()
|
||||
}
|
||||
|
||||
// generate sparse infill polylines from lower layers to get anchorable polylines
|
||||
Polylines lower_layer_polylines = po->get_layer(lidx)->lower_layer->generate_sparse_infill_polylines_for_anchoring();
|
||||
Polylines lower_layer_polylines = po->get_layer(lidx)->lower_layer
|
||||
? po->get_layer(lidx)->lower_layer->generate_sparse_infill_polylines_for_anchoring();
|
||||
: Polylines();
|
||||
|
||||
for (std::pair<const LayerSlice *, SurfacesPtr> candidates : bridging_surface_candidates) {
|
||||
if (candidates.second.empty()) {
|
||||
|
Loading…
Reference in New Issue
Block a user