mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-18 11:02:08 +00:00
Refactored Line objects to arrayrefs
This commit is contained in:
@@ -11,7 +11,7 @@ sub lines {
|
||||
|
||||
# since this is a closed polyline, we just add a line at the end,
|
||||
# connecting the last and the first point
|
||||
push @lines, Slic3r::Line->new(points => [$self->points->[-1], $self->points->[0]]);
|
||||
push @lines, Slic3r::Line->new($self->points->[-1], $self->points->[0]);
|
||||
return @lines;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user