New option to make infill before perimeters. #1039

This commit is contained in:
Alessandro Ranellucci 2013-03-10 18:15:44 +01:00
parent ab3d1ac820
commit 2942485a94
5 changed files with 12 additions and 2 deletions

View file

@ -909,7 +909,8 @@ sub write_gcode {
};
# give priority to infill if we were already using its extruder
if ($gcodegen->multiple_extruders && $region->extruders->{infill} eq $gcodegen->extruder) {
if ($Slic3r::Config->infill_first
|| ($gcodegen->multiple_extruders && $region->extruders->{infill} eq $gcodegen->extruder)) {
$extrude_fills->();
$extrude_perimeters->();
} else {