mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-14 19:12:38 -07:00
Optimization of travel paths for fills
This commit is contained in:
@@ -124,6 +124,7 @@ sub nearest_point {
|
||||
if (!defined $distance || $d < $distance) {
|
||||
$nearest_point = $p;
|
||||
$distance = $d;
|
||||
return $p if $distance < epsilon;
|
||||
}
|
||||
}
|
||||
return $nearest_point;
|
||||
|
||||
Reference in New Issue
Block a user