diff options
author | Alessandro Ranellucci <aar@cpan.org> | 2012-06-24 18:37:59 +0400 |
---|---|---|
committer | Alessandro Ranellucci <aar@cpan.org> | 2012-06-24 18:37:59 +0400 |
commit | a4dcbd62daffa3e2a186c72cfd7752b79ff69a98 (patch) | |
tree | cb2707a059526beec8c8948cee2da3a405a93464 | |
parent | f88f516c30f494c5aee6b187dced1579cc595edf (diff) |
Remove recursion warning for Douglas-Peucker
-rw-r--r-- | lib/Slic3r/Geometry.pm | 1 |
1 files changed, 1 insertions, 0 deletions
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; |