Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessandro Ranellucci <aar@cpan.org>2012-06-24 18:37:59 +0400
committerAlessandro Ranellucci <aar@cpan.org>2012-06-24 18:37:59 +0400
commita4dcbd62daffa3e2a186c72cfd7752b79ff69a98 (patch)
treecb2707a059526beec8c8948cee2da3a405a93464
parentf88f516c30f494c5aee6b187dced1579cc595edf (diff)
Remove recursion warning for Douglas-Peucker
-rw-r--r--lib/Slic3r/Geometry.pm1
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;