Clear generated boundaries from previous layer

This commit is contained in:
Lukáš Hejl committed 2020-11-16 14:21:36 +01:00
1 parent 5c073d0ddb
commit a4fc435f75
1 file changed
+1
+1
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);