mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 10:32:20 +00:00
Remove recursion warning for Douglas-Peucker
This commit is contained in:
@@ -787,6 +787,7 @@ sub shortest_path {
|
|||||||
|
|
||||||
sub douglas_peucker {
|
sub douglas_peucker {
|
||||||
my ($points, $tolerance) = @_;
|
my ($points, $tolerance) = @_;
|
||||||
|
no warnings "recursion";
|
||||||
|
|
||||||
my $results = [];
|
my $results = [];
|
||||||
my $dmax = 0;
|
my $dmax = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user