mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 06:57:28 -06:00
Printer discovery shows if a cluster is actually set up as a host
CL-541
This commit is contained in:
parent
f44c169b3e
commit
d0ec7d10ce
2 changed files with 7 additions and 1 deletions
|
@ -240,7 +240,7 @@ class UM3OutputDevicePlugin(OutputDevicePlugin):
|
|||
# or "Legacy" UM3 device.
|
||||
cluster_size = int(properties.get(b"cluster_size", -1))
|
||||
|
||||
if cluster_size > 0:
|
||||
if cluster_size >= 0:
|
||||
device = ClusterUM3OutputDevice.ClusterUM3OutputDevice(name, address, properties)
|
||||
else:
|
||||
device = LegacyUM3OutputDevice.LegacyUM3OutputDevice(name, address, properties)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue