mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 18:42:24 +00: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