mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-16 03:07:55 -06:00
Some compatibility bugs. Slic3r will still fail hard with non-manifold objects
This commit is contained in:
parent
bca3abb755
commit
f01ddae974
4 changed files with 32 additions and 23 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue