mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
shortest_path() in MotionPlanner was actually correctly named shortest_path()
This commit is contained in:
@@ -270,7 +270,7 @@ sub travel_to {
|
||||
my $mp = shift;
|
||||
return join '',
|
||||
map $self->G0($_->[B], undef, 0, $comment || ""),
|
||||
$mp->chained_path($self->last_pos, $point)->lines;
|
||||
$mp->shortest_path($self->last_pos, $point)->lines;
|
||||
};
|
||||
|
||||
if ($self->new_object) {
|
||||
|
||||
@@ -217,7 +217,7 @@ sub find_node {
|
||||
}
|
||||
}
|
||||
|
||||
sub chained_path {
|
||||
sub shortest_path {
|
||||
my $self = shift;
|
||||
my ($from, $to) = @_;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user