diff --git a/plugins/CuraEngineBackend/CuraEngineBackend.py b/plugins/CuraEngineBackend/CuraEngineBackend.py index eed9d56741..355406fe62 100755 --- a/plugins/CuraEngineBackend/CuraEngineBackend.py +++ b/plugins/CuraEngineBackend/CuraEngineBackend.py @@ -250,6 +250,9 @@ class CuraEngineBackend(QObject, Backend): @call_on_qt_thread # must be called from the main thread because of OpenGL def _createSnapshot(self) -> None: self._snapshot = None + if not CuraApplication.getInstance().isVisible(): + Logger.log("w", "Attempt to create snapshot before complete initialization.") + return Logger.log("i", "Creating thumbnail image (just before slice)...") try: self._snapshot = Snapshot.snapshot(width = 300, height = 300)