mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-13 04:29:03 +08:00
shortest_path() in MotionPlanner was actually correctly named shortest_path()
This commit is contained in:
parent
090e3b1fe3
commit
73a661e6c1
@ -270,7 +270,7 @@ sub travel_to {
|
|||||||
my $mp = shift;
|
my $mp = shift;
|
||||||
return join '',
|
return join '',
|
||||||
map $self->G0($_->[B], undef, 0, $comment || ""),
|
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) {
|
if ($self->new_object) {
|
||||||
|
@ -217,7 +217,7 @@ sub find_node {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
sub chained_path {
|
sub shortest_path {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
my ($from, $to) = @_;
|
my ($from, $to) = @_;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user