mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-23 14:44:13 -06:00
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:
parent
5dbee706a7
commit
ca922e9e9d
4 changed files with 47 additions and 32 deletions
|
@ -132,7 +132,7 @@ class PrinterOutputDevice(QObject, OutputDevice):
|
|||
return self._monitor_item
|
||||
|
||||
def _createMonitorViewFromQML(self):
|
||||
path = QUrl.fromLocalFile(os.path.join(PluginRegistry.getInstance().getPluginPath(self.getPluginId()), self._monitor_view_qml_path))
|
||||
path = QUrl.fromLocalFile(self._monitor_view_qml_path)
|
||||
|
||||
# Because of garbage collection we need to keep this referenced by python.
|
||||
self._monitor_component = QQmlComponent(Application.getInstance()._engine, path)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue