mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 19:33:47 +00:00
Code optimization
This commit is contained in:
@@ -32,7 +32,9 @@ sub clone {
|
||||
|
||||
sub lines {
|
||||
my $self = shift;
|
||||
return map Slic3r::Line->new($_), polygon_lines($self);
|
||||
my @lines = polygon_lines($self);
|
||||
bless $_, 'Slic3r::Line' for @lines;
|
||||
return @lines;
|
||||
}
|
||||
|
||||
sub cleanup {
|
||||
|
||||
Reference in New Issue
Block a user