Bugfix: fan wasn't turned on for bridges when vibration limit or another internal post-processor was enabled. Includes regression test. #1533

This commit is contained in:
Alessandro Ranellucci 2013-12-23 01:19:02 +01:00
parent 4f58a1c401
commit fc5aac0ff6
2 changed files with 38 additions and 2 deletions

View file

@ -18,11 +18,11 @@ sub parse {
print "$raw_line\n" if $Verbose || $ENV{SLIC3R_TESTS_GCODE};
my $line = $raw_line;
$line =~ s/\s*;(.*)//; # strip comment
next if $line eq '';
my %info = (comment => $1, raw => $raw_line);
# parse command
my ($command, @args) = split /\s+/, $line;
$command //= '';
my %args = map { /([A-Z])(.*)/; ($1 => $2) } @args;
# check motion