diff --git a/lib/Slic3r/Test.pm b/lib/Slic3r/Test.pm index f0210f4de..ca95d5de4 100644 --- a/lib/Slic3r/Test.pm +++ b/lib/Slic3r/Test.pm @@ -58,7 +58,7 @@ has 'E' => (is => 'rw', default => sub {0}); has 'F' => (is => 'rw', default => sub {0}); our $Verbose = 0; -my @AXES = qw(X Y Z E F); +my @AXES = qw(X Y Z E); sub parse { my $self = shift; @@ -100,7 +100,7 @@ sub parse { # update coordinates if ($command =~ /^(?:G[01]|G92)$/) { - for (@AXES) { + for (@AXES, 'F') { $self->$_($args{$_}) if exists $args{$_}; } } diff --git a/t/retraction.t b/t/retraction.t index bf1beb8f5..d19365ae2 100644 --- a/t/retraction.t +++ b/t/retraction.t @@ -44,6 +44,6 @@ $config->set('retract_before_travel', [3]); ok $test->(), 'retraction'; $config->set('retract_restart_extra', [1]); -ok $test->(), 'retraction with restart extra length'; +ok $test->(), 'restart extra length'; __END__