Fixed that bridge angle is lost on shell layers

Previously, if a bridge was on a layer which had solid infill due to a horizontal shell, the bridge angle would be reset to -1. This could occur e.g. if a model has two bridges on on neighbouring layers (even if the bridges aren't near each other).
This commit is contained in:
NaOH 2019-02-20 14:46:38 -08:00 committed by GitHub
parent 05a2f9028a
commit 02fa7a948a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1664,7 +1664,7 @@ PrintObject::_discover_neighbor_horizontal_shells(LayerRegion* layerm, const siz
append_to(tmp, to_polygons(internal)); append_to(tmp, to_polygons(internal));
const auto solid_surfaces = diff_ex(to_polygons(s), tmp, true); const auto solid_surfaces = diff_ex(to_polygons(s), tmp, true);
neighbor_layerm->fill_surfaces.append(solid_surfaces, s.front()->surface_type); neighbor_layerm->fill_surfaces.append(solid_surfaces, *s.front());
} }
} }
} }