Don't reset E when the makerbot flavor is selected

degen-loop-screen
Alessandro Ranellucci 2012-06-24 21:05:44 +02:00
parent 0938c73d08
commit 3a8f4015d6
1 changed files with 1 additions and 1 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 ne 'mach3') {
if (!$Slic3r::use_relative_e_distances && $Slic3r::gcode_flavor !~ /^(?:mach3|makerbot)$/) {
$gcode .= "G92 " . $Slic3r::extrusion_axis . "0\n" if $Slic3r::extrusion_axis;
$self->extrusion_distance(0);
}