diff options
author | Alessandro Ranellucci <aar@cpan.org> | 2013-08-28 18:51:58 +0400 |
---|---|---|
committer | Alessandro Ranellucci <aar@cpan.org> | 2013-08-28 22:37:56 +0400 |
commit | 73c05a60921961248f3da547d3bef69921d8600b (patch) | |
tree | 783a9786588f7068cd3c30492d398250b5913a0d /utils | |
parent | fb763b01879f6943bf8f601f37e03947ccbf7511 (diff) |
Moved vibration limit to its own G-code filter
Diffstat (limited to 'utils')
-rw-r--r-- | utils/gcode_sectioncut.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/gcode_sectioncut.pl b/utils/gcode_sectioncut.pl index 4304f4aba..733208a3e 100644 --- a/utils/gcode_sectioncut.pl +++ b/utils/gcode_sectioncut.pl @@ -41,7 +41,7 @@ my %opt = ( # read paths my %paths = (); # z => [ path, path ... ] - Slic3r::GCode::Reader->new(gcode => io($input_file)->all)->parse(sub { + Slic3r::GCode::Reader->new->parse(io($input_file)->all, sub { my ($self, $cmd, $args, $info) = @_; if ($cmd eq 'G1' && $info->{extruding}) { |