mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-12 13:18:57 +08:00
Bugfix: medial axis code threw fatal errors sometimes
This commit is contained in:
parent
4b2bd7f779
commit
2def6a9787
@ -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 = [];
|
||||
|
Loading…
x
Reference in New Issue
Block a user