mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-14 01:15:53 +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
|
$pointmap{$_->[A]} >= 2 && $pointmap{$_->[B]} >= 2
|
||||||
} @skeleton_lines;
|
} @skeleton_lines;
|
||||||
}
|
}
|
||||||
|
return undef if !@skeleton_lines;
|
||||||
|
|
||||||
# now build a single polyline
|
# now build a single polyline
|
||||||
my $polyline = [];
|
my $polyline = [];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user