mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-07-02 16:59:48 +02: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