From 02fa7a948a1b1c6a91c7ed5e7d38f9b3b0b19c7f Mon Sep 17 00:00:00 2001 From: NaOH Date: Wed, 20 Feb 2019 14:46:38 -0800 Subject: [PATCH] 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). --- xs/src/libslic3r/PrintObject.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xs/src/libslic3r/PrintObject.cpp b/xs/src/libslic3r/PrintObject.cpp index ee92b97c1..b5506593c 100644 --- a/xs/src/libslic3r/PrintObject.cpp +++ b/xs/src/libslic3r/PrintObject.cpp @@ -1664,7 +1664,7 @@ PrintObject::_discover_neighbor_horizontal_shells(LayerRegion* layerm, const siz append_to(tmp, to_polygons(internal)); 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()); } } }