mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 19:33:47 +00:00
Fix regression in chained_path() introduced in fb763b0187. Includes regression test. #1184
This commit is contained in:
@@ -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};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user