Also select correct quality level on the stack when changing intent

Contributes to issue CURA-6091.
This commit is contained in:
Ghostkeeper 2019-06-19 16:52:54 +02:00
parent fa65875824
commit 64e3a99ad3
No known key found for this signature in database
GPG key ID: 86BEF881AE2CF276

View file

@ -89,6 +89,7 @@ class IntentManager:
def selectIntent(self, intent_category, quality_type):
for extruder in all_extruders:
extruder_stack.intent = ContainerRegistry.getInstance().findContainers(type = "intent", definition = current_definition_id, variant = extruder_nozzle_id, material = extruder_material_id)[0]
extruder_stack.quality = ContainerRegistry.getInstance().findContainers(type = "quality", quality_type = quality_type)
def selectDefaultIntent(self) -> None:
category, quality_type = self.defaultIntent()