mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 11:23:42 +00:00
Refactored Line objects to arrayrefs
This commit is contained in:
@@ -34,7 +34,7 @@ sub lines {
|
||||
my $previous_point;
|
||||
foreach my $point (@{ $self->points }) {
|
||||
if ($previous_point) {
|
||||
push @lines, Slic3r::Line->new(points => [ $previous_point, $point ]);
|
||||
push @lines, Slic3r::Line->new($previous_point, $point);
|
||||
}
|
||||
$previous_point = $point;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user