Quality is now set for extruder, regardless if the machine has machine specific qualities

This commit is contained in:
Jaime van Kessel 2016-06-10 17:04:25 +02:00
parent fa72630c0a
commit 8c43d4c4cb

View file

@ -18,7 +18,7 @@ class ExtruderManager(QObject):
## Notify when the user switches the currently active extruder.
activeExtruderChanged = pyqtSignal()
## Registers listeners and such to listen to changes to the extruders.
## Registers listeners and such to listen to chafnges to the extruders.
def __init__(self, parent = None):
super().__init__(parent)
self._extruder_trains = { } #Per machine, a dictionary of extruder container stack IDs.
@ -169,7 +169,7 @@ class ExtruderManager(QObject):
#Find a quality to use for this extruder.
quality = container_registry.getEmptyInstanceContainer()
if machine_definition.getMetaDataEntry("has_machine_quality"):
#First add any quality. Later, overwrite with preference if the preference is valid.
qualities = container_registry.findInstanceContainers(type = "quality")
if len(qualities) >= 1: