1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-25 10:15:50 +00:00

Refactored Line objects to arrayrefs

This commit is contained in:
Alessandro Ranellucci
2011-10-12 16:27:40 +02:00
parent e410410dc7
commit c97a89c07c
10 changed files with 47 additions and 44 deletions
+1 -1
View File
@@ -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;
}