From 678516186e35192a9f34ddade33036e9ad05a159 Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Thu, 28 Jan 2021 12:22:47 +0100 Subject: Revert "Don't call @property function" This reverts commit 3921cc86d1e3b9e86c5cd0a27cdc83be01b25106. --- plugins/CuraEngineBackend/CuraEngineBackend.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/CuraEngineBackend') diff --git a/plugins/CuraEngineBackend/CuraEngineBackend.py b/plugins/CuraEngineBackend/CuraEngineBackend.py index ecf9d95492..355406fe62 100755 --- a/plugins/CuraEngineBackend/CuraEngineBackend.py +++ b/plugins/CuraEngineBackend/CuraEngineBackend.py @@ -250,7 +250,7 @@ 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: + 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)...") -- cgit v1.2.3