From 3921cc86d1e3b9e86c5cd0a27cdc83be01b25106 Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Thu, 28 Jan 2021 11:48:18 +0100 Subject: [PATCH] Don't call @property function It directly returns the boolean. No need to call it. Calling it crashes saying that a bool object can't be called. --- plugins/CuraEngineBackend/CuraEngineBackend.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/CuraEngineBackend/CuraEngineBackend.py b/plugins/CuraEngineBackend/CuraEngineBackend.py index 355406fe62..ecf9d95492 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)...")