mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-18 11:02:08 +00:00
Clear generated boundaries from previous layer
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user