mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 19:33:47 +00:00
Bugfix: removed fatal error when generating SVG support material in some circumstances. #673
This commit is contained in:
@@ -242,6 +242,7 @@ sub polygon_lines {
|
||||
sub nearest_point {
|
||||
my ($point, $points) = @_;
|
||||
my $index = nearest_point_index(@_);
|
||||
return undef if !defined $index;
|
||||
return $points->[$index];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user