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

Bugfix: --avoid-crossing-perimeters was crashing when processing empty layers

This commit is contained in:
Alessandro Ranellucci
2012-09-22 15:51:18 +02:00
parent e21fdf0b15
commit 91e9f651b5
+2
View File
@@ -224,6 +224,8 @@ sub shortest_path {
my $self = shift;
my ($from, $to) = @_;
return Slic3r::Polyline->new($from, $to) if !@{$self->islands};
# find nearest nodes
my $new_from = $self->find_node($from, $to);
my $new_to = $self->find_node($to, $from);