CURA-4400 fix start slicing when disabled extruder is incompatible

This commit is contained in:
Jack Ha 2018-03-07 11:38:35 +01:00
parent 4568fab531
commit ff1c378c08
2 changed files with 4 additions and 0 deletions

View file

@ -637,6 +637,8 @@ class MachineManager(QObject):
buildplate_compatible = True # It is compatible by default
extruder_stacks = self._global_container_stack.extruders.values()
for stack in extruder_stacks:
if not stack.isEnabled:
continue
material_container = stack.material
if material_container == self._empty_material_container:
continue