diff --git a/lib/Slic3r/Geometry.pm b/lib/Slic3r/Geometry.pm index 989f98659..304a0fecf 100644 --- a/lib/Slic3r/Geometry.pm +++ b/lib/Slic3r/Geometry.pm @@ -236,7 +236,7 @@ sub polyline_lines { } sub polygon_lines { - my ($polygon) = @_;use XXX; ZZZ $polygon if !eval { @$polygon }; + my ($polygon) = @_; return polyline_lines([ @$polygon, $polygon->[0] ]); }