mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-05 13:04:03 -06:00
Fix regression in chained_path() introduced in fb763b0187
. Includes regression test. #1184
This commit is contained in:
parent
4755e61d71
commit
849d69d178
2 changed files with 14 additions and 3 deletions
|
@ -800,7 +800,7 @@ sub chained_path {
|
|||
}
|
||||
while (@points) {
|
||||
my $idx = $start_near->nearest_point_index(\@points);
|
||||
my ($start_near) = splice @points, $idx, 1;
|
||||
($start_near) = splice @points, $idx, 1;
|
||||
push @result, $indices{$start_near};
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue