Fix checking if we're single extrusion

We are single extrusion if the extruder count is less than or equal to 1, like in other places throughout Cura.

Contributes to issue CURA-2625.
This commit is contained in:
Ghostkeeper 2016-11-14 10:31:11 +01:00
parent b8223e3e75
commit 48134619eb
No known key found for this signature in database
GPG Key ID: C5F96EE2BC0F7E75

View File

@ -303,7 +303,7 @@ class ExtruderManager(QObject):
global_stack = UM.Application.getInstance().getGlobalContainerStack()
container_registry = UM.Settings.ContainerRegistry.getInstance()
if global_stack.getProperty("machine_extruder_count", "value") == 0: #For single extrusion.
if global_stack.getProperty("machine_extruder_count", "value") <= 1: #For single extrusion.
return [global_stack]
used_extruder_stack_ids = set()