diff options
author | Alessandro Ranellucci <aar@cpan.org> | 2013-12-24 04:13:02 +0400 |
---|---|---|
committer | Alessandro Ranellucci <aar@cpan.org> | 2013-12-24 04:13:02 +0400 |
commit | 7ddf4f3ddf1880935821ad88e6a9d13bcdfd64dd (patch) | |
tree | 1291f74542d5f66e640520761326ba76b8872985 /t/gcode.t | |
parent | c5ead0f2a657bd49451c4966be0495980612b215 (diff) |
Fixes to complete_objects to make t/gcode.t pass
Diffstat (limited to 't/gcode.t')
-rw-r--r-- | t/gcode.t | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -48,13 +48,13 @@ use Slic3r::Test; # - no hard-coded "E" are generated # - Z moves are correctly generated for both objects my $config = Slic3r::Config->new_from_defaults; + $config->set('gcode_comments', 1); $config->set('complete_objects', 1); - $config->set('duplicate', 2); $config->set('extrusion_axis', 'A'); $config->set('start_gcode', ''); # prevent any default extra Z move $config->set('layer_height', 0.4); $config->set('first_layer_height', 0.4); - my $print = Slic3r::Test::init_print('20mm_cube', config => $config); + my $print = Slic3r::Test::init_print('20mm_cube', config => $config, duplicate => 2); ok my $gcode = Slic3r::Test::gcode($print), "complete_objects"; my @z_moves = (); Slic3r::GCode::Reader->new->parse($gcode, sub { |