mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 15:07:28 -06:00
Material & hotend updated callback is enabled for LegacyUM3 again
CL-541
This commit is contained in:
parent
e576c1a9f7
commit
9754aa5397
4 changed files with 91 additions and 58 deletions
|
@ -235,8 +235,7 @@ class UM3OutputDevicePlugin(OutputDevicePlugin):
|
|||
# Check what kind of device we need to add; Depending on the firmware we either add a "Connect"/"Cluster"
|
||||
# or "Legacy" UM3 device.
|
||||
cluster_size = int(properties.get(b"cluster_size", -1))
|
||||
# TODO: For debug purposes; force it to be legacy printer.
|
||||
#device = LegacyUM3OutputDevice.LegacyUM3OutputDevice(name, address, properties)
|
||||
|
||||
if cluster_size > 0:
|
||||
device = ClusterUM3OutputDevice.ClusterUM3OutputDevice(name, address, properties)
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue