Clear generated boundaries from previous layer

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

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);