From c86f28cc9eea455b0c4d66998253f9a8243c24a8 Mon Sep 17 00:00:00 2001 From: Jaime van Kessel Date: Fri, 4 Oct 2019 10:33:13 +0200 Subject: [PATCH] Ignore disabled extruders when checking for intent warning CURA-6601 --- cura/Settings/MachineManager.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cura/Settings/MachineManager.py b/cura/Settings/MachineManager.py index 37789b23a1..62f22431c0 100755 --- a/cura/Settings/MachineManager.py +++ b/cura/Settings/MachineManager.py @@ -650,6 +650,8 @@ class MachineManager(QObject): active_intent_category = self.activeIntentCategory result = [] for extruder in global_container_stack.extruderList: + if not extruder.isEnabled: + continue category = extruder.intent.getMetaDataEntry("intent_category", "default") if category != active_intent_category: result.append(str(int(extruder.getMetaDataEntry("position")) + 1)) @@ -1054,6 +1056,7 @@ class MachineManager(QObject): self.forceUpdateAllSettings() # Also trigger the build plate compatibility to update self.activeMaterialChanged.emit() + self.activeIntentChanged.emit() def _onMachineNameChanged(self) -> None: self.globalContainerChanged.emit()