mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 06:57:28 -06:00
Fix remaining references to NetworkCamera and OutputDevice.activeCamera
This commit is contained in:
parent
736bf040a8
commit
e0d6bac37d
7 changed files with 23 additions and 28 deletions
|
@ -54,7 +54,7 @@ class PrintJobOutputModel(QObject):
|
|||
@pyqtProperty(QUrl, notify=previewImageChanged)
|
||||
def previewImageUrl(self):
|
||||
self._preview_image_id += 1
|
||||
# There is an image provider that is called "camera". In order to ensure that the image qml object, that
|
||||
# There is an image provider that is called "print_job_preview". In order to ensure that the image qml object, that
|
||||
# requires a QUrl to function, updates correctly we add an increasing number. This causes to see the QUrl
|
||||
# as new (instead of relying on cached version and thus forces an update.
|
||||
temp = "image://print_job_preview/" + str(self._preview_image_id) + "/" + self._key
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue