mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-05 21:14:01 -06:00
Refactored Line objects to arrayrefs
This commit is contained in:
parent
e410410dc7
commit
c97a89c07c
10 changed files with 47 additions and 44 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue