Overriddable infills that were not overridden are now printed according to infill_first

This commit is contained in:
Lukas Matena 2018-06-29 12:26:22 +02:00
parent bb288f2a1b
commit 5bf795ec6f
4 changed files with 90 additions and 30 deletions

View file

@ -1334,7 +1334,7 @@ void GCode::process_layer(
if (objects_by_extruder_it == by_extruder.end())
continue;
// We are almost ready to print. However, we must go through all the object twice and only print the overridden extrusions first (infill/primeter wiping feature):
// We are almost ready to print. However, we must go through all the object twice and only print the overridden extrusions first (infill/perimeter wiping feature):
for (int print_wipe_extrusions=layer_tools.wiping_extrusions.is_anything_overridden(); print_wipe_extrusions>=0; --print_wipe_extrusions) {
for (ObjectByExtruder &object_by_extruder : objects_by_extruder_it->second) {
const size_t layer_id = &object_by_extruder - objects_by_extruder_it->second.data();