Skip to content

Commit

Permalink
Follow-up to 58d64ba
Browse files Browse the repository at this point in the history
Fixed Perl integration tests, missing G92 E0 in layer_change G-code
for relative extruder addressing.
  • Loading branch information
bubnikv committed Jan 31, 2022
1 parent e3ef909 commit 3e7a4d4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions t/gcode.t
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ use Slic3r::Test;
my $config = Slic3r::Config::new_from_defaults;
$config->set('retract_length', [1000000]);
$config->set('use_relative_e_distances', 1);
$config->set('layer_gcode', 'G92 E0\n');
my $print = Slic3r::Test::init_print('20mm_cube', config => $config);
Slic3r::Test::gcode($print);
ok $print->print->total_used_filament > 0, 'final retraction is not considered in total used filament';
Expand Down

0 comments on commit 3e7a4d4

Please sign in to comment.