Bugfix: artifacts were introduced when perimeters were recalculated through incremental slicing. #2494

This commit is contained in:
Alessandro Ranellucci 2015-01-05 21:00:50 +01:00
parent 3332282767
commit 9fd0637990

View File

@ -44,7 +44,8 @@ void
LayerRegion::merge_slices()
{
ExPolygons expp;
union_(this->slices, &expp);
// without safety offset, artifacts are generated (GH #2494)
union_(this->slices, &expp, true);
this->slices.surfaces.clear();
this->slices.surfaces.reserve(expp.size());