Clear generated boundaries from previous layer

This commit is contained in:
Lukáš Hejl
2020-10-07 15:27:18 +02:00
parent c5b5e8588a
commit cd854fcfa7

View File

@@ -280,6 +280,7 @@ namespace Slic3r {
void AvoidCrossingPerimeters2::init_layer(const Layer &layer)
{
m_boundaries.clear();
BoundingBox bbox = get_extents(layer.lslices);
bbox.offset(SCALED_EPSILON);
ExPolygons boundaries = get_boundary(layer);