Move Slic3r::Test::GCodeReader to Slic3r::GCode::Reader

This commit is contained in:
Alessandro Ranellucci
2013-05-13 20:14:33 +02:00
parent ece6dd8a0b
commit baa1a8c736
11 changed files with 75 additions and 72 deletions

View File

@@ -111,7 +111,7 @@ sub scale_points (@) { map [scale $_->[X], scale $_->[Y]], @_ }
$config->set('solid_infill_below_area', 20000000);
my $print = Slic3r::Test::init_print('20mm_cube', config => $config);
Slic3r::Test::GCodeReader->new(gcode => Slic3r::Test::gcode($print))->parse(sub {
Slic3r::GCode::Reader->new(gcode => Slic3r::Test::gcode($print))->parse(sub {
my ($self, $cmd, $args, $info) = @_;
fail "solid_infill_below_area should be ignored when fill_density is 0"