From 01bd9040f54aa05bff04df36f2c4c4e6a3460603 Mon Sep 17 00:00:00 2001 From: Alessandro Ranellucci Date: Thu, 18 Apr 2013 17:46:13 +0200 Subject: [PATCH] Fix syntax for ex_int_offset2() --- lib/Slic3r/Geometry/Clipper.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Slic3r/Geometry/Clipper.pm b/lib/Slic3r/Geometry/Clipper.pm index bef2713da..0c2cbfe35 100644 --- a/lib/Slic3r/Geometry/Clipper.pm +++ b/lib/Slic3r/Geometry/Clipper.pm @@ -113,8 +113,8 @@ sub ex_int_offset2 { } sub collapse_ex { - my ($polygons, $width) = @_; - return ex_int_offset2($polygons, -$width/2, +$width/2); + my ($polygons, $width) = @_;use XXX; YYY + return [ ex_int_offset2($polygons, -$width/2, +$width/2) ]; } sub simplify_polygon {