mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-05-01 00:04:27 +08:00
Added Camera image recieving
This commit is contained in:
parent
4d082bad25
commit
ac465521e3
@ -95,9 +95,10 @@ class PrinterApplication(QtApplication):
|
||||
|
||||
controller.getScene().setActiveCamera('3d')
|
||||
|
||||
self.setMainQml(os.path.dirname(__file__) + "/Printer.qml")
|
||||
|
||||
self.initializeEngine()
|
||||
|
||||
self._engine.addImageProvider("camera",self._camera_image_provider)
|
||||
self.setMainQml(os.path.dirname(__file__) + "/Printer.qml")
|
||||
if self._engine.rootObjects:
|
||||
self.exec_()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user