Revert "Don't reset E when the makerbot flavor is selected"

This reverts commit 2e5e5983be.
This commit is contained in:
Alessandro Ranellucci 2012-06-24 21:05:21 +02:00
parent 2e5e5983be
commit 0938c73d08
2 changed files with 7 additions and 8 deletions

View file

@ -242,7 +242,7 @@ sub retract {
# reset extrusion distance during retracts
# this makes sure we leave sufficient precision in the firmware
if (!$Slic3r::use_relative_e_distances && $Slic3r::gcode_flavor !~ /^(?:mach3|makerbot)$/) {
if (!$Slic3r::use_relative_e_distances && $Slic3r::gcode_flavor ne 'mach3') {
$gcode .= "G92 " . $Slic3r::extrusion_axis . "0\n" if $Slic3r::extrusion_axis;
$self->extrusion_distance(0);
}