mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-23 06:33:55 -06:00
Added videostream to cluster again
CL-541
This commit is contained in:
parent
aba8bd89c3
commit
77e3965fc7
5 changed files with 139 additions and 6 deletions
|
@ -12,7 +12,7 @@ class CameraImageProvider(QQuickImageProvider):
|
|||
def requestImage(self, id, size):
|
||||
for output_device in Application.getInstance().getOutputDeviceManager().getOutputDevices():
|
||||
try:
|
||||
return output_device.getCameraImage(), QSize(15, 15)
|
||||
return output_device.activePrinter.camera.getImage(), QSize(15, 15)
|
||||
except AttributeError:
|
||||
pass
|
||||
return QImage(), QSize(15, 15)
|
Loading…
Add table
Add a link
Reference in a new issue