mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-06-01 06:29:13 -07:00
Some compatibility bugs. Slic3r will still fail hard with non-manifold objects
This commit is contained in:
@@ -201,7 +201,7 @@ sub polygon_lines {
|
||||
sub nearest_point {
|
||||
my ($point, $points) = @_;
|
||||
|
||||
my ($nearest_point, $distance);
|
||||
my ($nearest_point, $distance) = ();
|
||||
foreach my $p (@$points) {
|
||||
my $d = distance_between_points($point, $p);
|
||||
if (!defined $distance || $d < $distance) {
|
||||
|
||||
Reference in New Issue
Block a user