From a4dcbd62daffa3e2a186c72cfd7752b79ff69a98 Mon Sep 17 00:00:00 2001 From: Alessandro Ranellucci Date: Sun, 24 Jun 2012 16:37:59 +0200 Subject: [PATCH] Remove recursion warning for Douglas-Peucker --- lib/Slic3r/Geometry.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Slic3r/Geometry.pm b/lib/Slic3r/Geometry.pm index 120bf02a0..1b873ce17 100644 --- a/lib/Slic3r/Geometry.pm +++ b/lib/Slic3r/Geometry.pm @@ -787,6 +787,7 @@ sub shortest_path { sub douglas_peucker { my ($points, $tolerance) = @_; + no warnings "recursion"; my $results = []; my $dmax = 0;