Follow-up to 58d64bae77
Fixed Perl integration tests, missing G92 E0 in layer_change G-code for relative extruder addressing.
This commit is contained in:
parent
e3ef90941f
commit
3e7a4d4648
@ -133,6 +133,7 @@ use Slic3r::Test;
|
|||||||
my $config = Slic3r::Config::new_from_defaults;
|
my $config = Slic3r::Config::new_from_defaults;
|
||||||
$config->set('retract_length', [1000000]);
|
$config->set('retract_length', [1000000]);
|
||||||
$config->set('use_relative_e_distances', 1);
|
$config->set('use_relative_e_distances', 1);
|
||||||
|
$config->set('layer_gcode', 'G92 E0\n');
|
||||||
my $print = Slic3r::Test::init_print('20mm_cube', config => $config);
|
my $print = Slic3r::Test::init_print('20mm_cube', config => $config);
|
||||||
Slic3r::Test::gcode($print);
|
Slic3r::Test::gcode($print);
|
||||||
ok $print->print->total_used_filament > 0, 'final retraction is not considered in total used filament';
|
ok $print->print->total_used_filament > 0, 'final retraction is not considered in total used filament';
|
||||||
|
Loading…
Reference in New Issue
Block a user