mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-08 22:35:15 -06:00
Generate boundaries of areas to fill (includes some refactoring)
This commit is contained in:
parent
416ad241ea
commit
428006264d
6 changed files with 82 additions and 24 deletions
|
@ -40,7 +40,7 @@ sub new_from_points {
|
|||
: $_
|
||||
} @points;
|
||||
|
||||
my $polyline = __PACKAGE__->new;
|
||||
my $polyline = $class->new;
|
||||
my $previous_point;
|
||||
$previous_point = $points[-1] if $class eq 'Slic3r::Polyline::Closed';
|
||||
foreach my $point (@points) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue