mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 16:57:53 -06:00
Fixes of the Prusa Multi Material wipe tower.
This commit is contained in:
parent
4bc827d1da
commit
7b6c9b3b3c
5 changed files with 188 additions and 138 deletions
|
@ -125,7 +125,7 @@ static void fill_wipe_tower_partitions(std::vector<LayerTools> &layers)
|
|||
// Count the minimum number of tool changes per layer.
|
||||
size_t last_extruder = size_t(-1);
|
||||
for (LayerTools < : layers) {
|
||||
lt.wipe_tower_partitions = layers.front().extruders.size();
|
||||
lt.wipe_tower_partitions = lt.extruders.size();
|
||||
if (! lt.extruders.empty()) {
|
||||
if (last_extruder == size_t(-1) || last_extruder == lt.extruders.front())
|
||||
// The first extruder on this layer is equal to the current one, no need to do an initial tool change.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue