1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-11 08:04:25 +00:00

Bugfix: medial axis code threw fatal errors sometimes

This commit is contained in:
Alessandro Ranellucci
2011-12-30 18:58:27 +01:00
parent 4b2bd7f779
commit 2def6a9787
+1
View File
@@ -201,6 +201,7 @@ sub medial_axis {
$pointmap{$_->[A]} >= 2 && $pointmap{$_->[B]} >= 2
} @skeleton_lines;
}
return undef if !@skeleton_lines;
# now build a single polyline
my $polyline = [];