Respect perimeter/infill order when multiple extruders are configured but only one is used

new-support
Alessandro Ranellucci 2013-03-19 11:58:03 +01:00
parent 4fdcd18801
commit fd2a5e894a
1 changed files with 3 additions and 2 deletions

View File

@ -927,9 +927,10 @@ sub write_gcode {
}
};
# give priority to infill if we were already using its extruder
# give priority to infill if we were already using its extruder and it wouldn't
# be good for perimeters
if ($Slic3r::Config->infill_first
|| ($gcodegen->multiple_extruders && $region->extruders->{infill} eq $gcodegen->extruder)) {
|| ($gcodegen->multiple_extruders && $region->extruders->{infill} eq $gcodegen->extruder) && $region->extruders->{infill} ne $region->extruders->{perimeter}) {
$extrude_fills->();
$extrude_perimeters->();
} else {