mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-18 20:28:01 -06:00
Fixed choosing a quality that is compatible with multiple extruders as fallback. CURA-3510
This commit is contained in:
parent
d7e35fa480
commit
32d5fbe557
2 changed files with 15 additions and 6 deletions
7
cura/Settings/ExtruderManager.py
Normal file → Executable file
7
cura/Settings/ExtruderManager.py
Normal file → Executable file
|
@ -135,6 +135,13 @@ class ExtruderManager(QObject):
|
|||
return self._extruder_trains[global_container_stack.getId()][str(index)]
|
||||
return None
|
||||
|
||||
## Get all extruder stacks
|
||||
def getExtruderStacks(self):
|
||||
result = []
|
||||
for i in range(self.extruderCount):
|
||||
result.append(self.getExtruderStack(i))
|
||||
return result
|
||||
|
||||
## Adds all extruders of a specific machine definition to the extruder
|
||||
# manager.
|
||||
#
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue