mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 04:36:01 +08:00
WIP: Fix activeMaterialsCompatible()
This commit is contained in:
parent
ec8ee6e31a
commit
6cd47453bb
@ -1008,6 +1008,7 @@ class MachineManager(QObject):
|
|||||||
|
|
||||||
def activeMaterialsCompatible(self):
|
def activeMaterialsCompatible(self):
|
||||||
# check material - variant compatibility
|
# check material - variant compatibility
|
||||||
|
if Util.parseBool(self._global_container_stack.getMetaDataEntry("has_materials", False)):
|
||||||
for position, extruder in self._global_container_stack.extruders.items():
|
for position, extruder in self._global_container_stack.extruders.items():
|
||||||
if not extruder.material.getMetaDataEntry("compatible"):
|
if not extruder.material.getMetaDataEntry("compatible"):
|
||||||
return False
|
return False
|
||||||
|
Loading…
x
Reference in New Issue
Block a user