mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 09:17:52 -06:00
Avoid G92 E0 with sailfish. #1034
This commit is contained in:
parent
80676f358a
commit
9adac636b8
1 changed files with 1 additions and 1 deletions
|
@ -532,7 +532,7 @@ sub unretract {
|
||||||
|
|
||||||
sub reset_e {
|
sub reset_e {
|
||||||
my $self = shift;
|
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;
|
$self->extruder->e(0) if $self->extruder;
|
||||||
return sprintf "G92 %s0%s\n", $self->config->extrusion_axis, ($self->config->gcode_comments ? ' ; reset extrusion distance' : '')
|
return sprintf "G92 %s0%s\n", $self->config->extrusion_axis, ($self->config->gcode_comments ? ' ; reset extrusion distance' : '')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue