Clear generated boundaries from previous layer
This commit is contained in:
parent
5c073d0ddb
commit
a4fc435f75
@ -280,6 +280,7 @@ namespace Slic3r {
|
|||||||
|
|
||||||
void AvoidCrossingPerimeters2::init_layer(const Layer &layer)
|
void AvoidCrossingPerimeters2::init_layer(const Layer &layer)
|
||||||
{
|
{
|
||||||
|
m_boundaries.clear();
|
||||||
BoundingBox bbox = get_extents(layer.lslices);
|
BoundingBox bbox = get_extents(layer.lslices);
|
||||||
bbox.offset(SCALED_EPSILON);
|
bbox.offset(SCALED_EPSILON);
|
||||||
ExPolygons boundaries = get_boundary(layer);
|
ExPolygons boundaries = get_boundary(layer);
|
||||||
|
Loading…
Reference in New Issue
Block a user