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 {
|
sub lines {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
my @lines = polygon_lines($self);
|
return polygon_lines($self);
|
||||||
bless $_, 'Slic3r::Line' for @lines;
|
|
||||||
return @lines;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
sub boost_linestring {
|
sub boost_linestring {
|
||||||
|
Loading…
Reference in New Issue
Block a user