Skip to content

Commit

Permalink
Fixed that bridge angle is lost on shell layers
Browse files Browse the repository at this point in the history
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).
  • Loading branch information
nstbayless authored Feb 20, 2019
1 parent 05a2f90 commit 02fa7a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xs/src/libslic3r/PrintObject.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}
}
}
Expand Down

0 comments on commit 02fa7a9

Please sign in to comment.