mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 14:37:29 -06:00
Properly retrieve snapshot (now made on slice).
Circumvents the snapshot/thumbnail not working when the focus is not on the main window, even if the thread is main. This was an issue when writing a file to Digital Factory becasue that workflow uses a modal window. Thanks for the idea Jelle!
This commit is contained in:
parent
4fc0612806
commit
f4ef3b44e3
2 changed files with 3 additions and 6 deletions
|
@ -257,7 +257,7 @@ class CuraEngineBackend(QObject, Backend):
|
|||
Logger.logException("w", "Failed to create snapshot image")
|
||||
self._snapshot = None # Failing to create thumbnail should not fail creation of UFP
|
||||
|
||||
def getLatestSnapShot(self) -> Optional[QImage]:
|
||||
def getLatestSnapshot(self) -> Optional[QImage]:
|
||||
return self._snapshot
|
||||
|
||||
def slice(self) -> None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue