Avoid G92 E0 with sailfish. #1034

new-support2
Alessandro Ranellucci 2013-07-29 13:49:53 +02:00
parent 400573212a
commit 6bfe169686
1 changed files with 1 additions and 1 deletions

View File

@ -532,7 +532,7 @@ sub unretract {
sub reset_e {
my $self = shift;
return "" if $self->config->gcode_flavor =~ /^(?:mach3|makerware)$/;
return "" if $self->config->gcode_flavor =~ /^(?:mach3|makerware|sailfish)$/;
$self->extruder->e(0) if $self->extruder;
return sprintf "G92 %s0%s\n", $self->config->extrusion_axis, ($self->config->gcode_comments ? ' ; reset extrusion distance' : '')