polygon_lines returns array of Slic3r::Line objects so bless is redundant.

This commit is contained in:
Mark Hindess 2012-07-01 23:14:04 +01:00
parent a6d8d6473c
commit b11778a85f

View File

@ -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 {