mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-05-04 17:04:03 +08:00
Remove recursion warning for Douglas-Peucker
This commit is contained in:
parent
f88f516c30
commit
a4dcbd62da
@ -787,6 +787,7 @@ sub shortest_path {
|
||||
|
||||
sub douglas_peucker {
|
||||
my ($points, $tolerance) = @_;
|
||||
no warnings "recursion";
|
||||
|
||||
my $results = [];
|
||||
my $dmax = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user