Include M82/M83 for Teacup too. #1206

This commit is contained in:
Alessandro Ranellucci 2013-06-02 19:58:29 +02:00
parent 6bb2e593a7
commit 895e0bbfcd

View file

@ -725,7 +725,7 @@ sub write_gcode {
print $fh "G90 ; use absolute coordinates\n";
if ($Slic3r::Config->gcode_flavor =~ /^(?:reprap|teacup)$/) {
printf $fh $gcodegen->reset_e;
if ($Slic3r::Config->gcode_flavor =~ /^(?:reprap|makerbot|sailfish)$/) {
if ($Slic3r::Config->gcode_flavor =~ /^(?:reprap|teacup|makerbot|sailfish)$/) {
if ($Slic3r::Config->use_relative_e_distances) {
print $fh "M83 ; use relative distances for extrusion\n";
} else {