mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-24 07:03:59 -06:00
Bugfix: removed fatal error when generating SVG support material in some circumstances. #673
This commit is contained in:
parent
c6c7dd12da
commit
037be34b7b
2 changed files with 3 additions and 1 deletions
|
@ -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];
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue