The monitor item is now actually used to display information on monitor page

The UM3 now provides camera image in this way

CURA-3826
This commit is contained in:
Jaime van Kessel 2017-05-29 13:47:41 +02:00
parent 5dbee706a7
commit ca922e9e9d
4 changed files with 47 additions and 32 deletions

View file

@ -178,6 +178,7 @@ class NetworkPrinterOutputDevice(PrinterOutputDevice):
self._last_command = ""
self._compressing_print = False
self._monitor_view_qml_path = os.path.join(os.path.dirname(os.path.abspath(__file__)), "MonitorItem.qml")
printer_type = self._properties.get(b"machine", b"").decode("utf-8")
if printer_type.startswith("9511"):