mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 10:32:20 +00:00
Ported ExtrusionPath::Collection
This commit is contained in:
@@ -211,9 +211,11 @@ sub extrude_loop {
|
||||
$extrusion_path->intersect_expolygons($self->_layer_overhangs);
|
||||
|
||||
# reapply the nearest point search for starting point
|
||||
@paths = Slic3r::ExtrusionPath::Collection
|
||||
->new(paths => [@paths])
|
||||
->chained_path($start_at, 1);
|
||||
{
|
||||
my $collection = Slic3r::ExtrusionPath::Collection->new;
|
||||
$collection->append(@paths);
|
||||
@paths = $collection->chained_path($start_at, 1);
|
||||
}
|
||||
} else {
|
||||
push @paths, $extrusion_path;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user