mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-11-26 05:56:35 +01:00
Refactored Line objects to arrayrefs
This commit is contained in:
1 parent
e410410dc7
commit
c97a89c07c
10 files changed
+47
-44
No files matched your search
@@ -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