mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-02 07:20:40 +08:00
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
|
// 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) {
|
for (std::pair<const LayerSlice *, SurfacesPtr> candidates : bridging_surface_candidates) {
|
||||||
if (candidates.second.empty()) {
|
if (candidates.second.empty()) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user