Code optimization

This commit is contained in:
Alessandro Ranellucci committed 2012-02-25 22:18:07 +01:00
1 parent 170d29a789
commit c98f6734c7
5 files changed
+13 -20

No files matched your search

+3 -1
View File
@@ -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 {