mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-24 07:03:59 -06:00
Rename shortest_path to chained_path, which reflects its algorithm more correctly
This commit is contained in:
parent
11637d527a
commit
090e3b1fe3
10 changed files with 19 additions and 19 deletions
|
@ -73,7 +73,7 @@ sub fill_surface {
|
|||
}
|
||||
: sub { abs($_[X] - $distance_between_lines) <= $tolerance && $_[Y] <= $diagonal_distance };
|
||||
|
||||
foreach my $path ($collection->shortest_path) {
|
||||
foreach my $path ($collection->chained_path) {
|
||||
if (@paths) {
|
||||
my @distance = map abs($path->[0][$_] - $paths[-1][-1][$_]), (X,Y);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue