mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-07-30 22:42:03 +08:00
Fix part of SPE-1956: Toolchanges count incorrect when wipe tower is disabled
This commit is contained in:
parent
4b4c208ed2
commit
97714d6f8f
@ -479,6 +479,9 @@ void ToolOrdering::fill_wipe_tower_partitions(const PrintConfig &config, coordf_
|
||||
|
||||
bool ToolOrdering::insert_wipe_tower_extruder()
|
||||
{
|
||||
if (!m_print_config_ptr->wipe_tower)
|
||||
return false;
|
||||
|
||||
// In case that wipe_tower_extruder is set to non-zero, we must make sure that the extruder will be in the list.
|
||||
bool changed = false;
|
||||
if (m_print_config_ptr->wipe_tower_extruder != 0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user