Browse Source

Fix activeMaterialsCompatible()

CURA-6511

Looks like a merge conflict
Lipu Fei 5 years ago
parent
commit
5e43e723e7
1 changed files with 2 additions and 2 deletions
  1. 2 2
      cura/Settings/MachineManager.py

+ 2 - 2
cura/Settings/MachineManager.py

@@ -1263,8 +1263,8 @@ class MachineManager(QObject):
         if self._global_container_stack is not None:
             if Util.parseBool(self._global_container_stack.getMetaDataEntry("has_materials", False)):
                 for position, extruder in self._global_container_stack.extruders.items():
-                    if extruder.isEnabled and not extruder.material.getMetaDataEntry("compatible"):
-                        return False
+                    if not extruder.isEnabled:
+                        continue
                     if not extruder.material.getMetaDataEntry("compatible"):
                         return False
         return True