Remove G92 E0 if --no-extrusion was supplied

This commit is contained in:
Alessandro Ranellucci 2011-11-14 18:14:12 +01:00
parent e51310e1b0
commit 9e42158582

View File

@ -447,7 +447,7 @@ sub export_gcode {
print $fh "$Slic3r::start_gcode\n";
print $fh "G90 ; use absolute coordinates\n";
print $fh "G21 ; set units to millimeters\n";
print $fh "G92 E0 ; reset extrusion distance\n";
print $fh "G92 E0 ; reset extrusion distance\n" if !$Slic3r::no_extrusion;
if ($Slic3r::use_relative_e_distances) {
print $fh "M83 ; use relative distances for extrusion\n";
} else {