Fixed an extruder ordering bug on the 1st layer wipe tower.

This is a regression after introducing the extruder priming areas
at the edge of the print bed.
This commit is contained in:
bubnikv 2017-12-03 09:43:00 +01:00
parent 73a539780a
commit 16bd3fc624
5 changed files with 13 additions and 9 deletions

View file

@ -368,7 +368,7 @@ WipeTower::ToolChangeResult WipeTowerPrusaMM::prime(
// print_z of the first layer.
float first_layer_height,
// Extruder indices, in the order to be primed. The last extruder will later print the wipe tower brim, print brim and the object.
std::vector<unsigned int> tools,
const std::vector<unsigned int> &tools,
// If true, the last priming are will be the same as the other priming areas, and the rest of the wipe will be performed inside the wipe tower.
// If false, the last priming are will be large enough to wipe the last extruder sufficiently.
bool last_wipe_inside_wipe_tower,