Implement selectDefaultIntent

Bit of a weird one.

Contributes to issue CURA-6091.
This commit is contained in:
Ghostkeeper 2019-06-20 15:30:24 +02:00
parent aa0bf2f6ba
commit 96c111553a
No known key found for this signature in database
GPG key ID: 86BEF881AE2CF276

View file

@ -118,5 +118,5 @@ class IntentManager:
application.getMachineManager().setQualityGroupByQualityType(quality_type)
def selectDefaultIntent(self) -> None:
category, quality_type = self.defaultIntent()
self.selectIntent(category, quality_type)
for extruder_stack in ExtruderManager.getInstance().getUsedExtruderStacks():
extruder_stack.intent = self.defaultIntent()