polygon_lines returns array of Slic3r::Line objects so bless is redundant.
This commit is contained in:
parent
a6d8d6473c
commit
b11778a85f
@ -11,9 +11,7 @@ use Slic3r::Geometry::Clipper qw(JT_MITER);
|
||||
|
||||
sub lines {
|
||||
my $self = shift;
|
||||
my @lines = polygon_lines($self);
|
||||
bless $_, 'Slic3r::Line' for @lines;
|
||||
return @lines;
|
||||
return polygon_lines($self);
|
||||
}
|
||||
|
||||
sub boost_linestring {
|
||||
|
Loading…
Reference in New Issue
Block a user