Fixed choosing a quality that is compatible with multiple extruders as fallback. CURA-3510

This commit is contained in:
Jack Ha 2017-03-13 17:17:56 +01:00
parent d7e35fa480
commit 32d5fbe557
2 changed files with 15 additions and 6 deletions

7
cura/Settings/ExtruderManager.py Normal file → Executable file
View 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.
#