Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGhostkeeper <rubend@tutanota.com>2021-01-28 13:48:18 +0300
committerGhostkeeper <rubend@tutanota.com>2021-01-28 13:48:18 +0300
commit3921cc86d1e3b9e86c5cd0a27cdc83be01b25106 (patch)
tree05751919c8438451ed4ca2ab94ad497881d3b5d3 /plugins/CuraEngineBackend
parent35d6aad6cd7e8a16fbb829dcf8f0b70db12d0028 (diff)
Don't call @property functionfix_snapshot_before_visible
It directly returns the boolean. No need to call it. Calling it crashes saying that a bool object can't be called.
Diffstat (limited to 'plugins/CuraEngineBackend')
-rwxr-xr-xplugins/CuraEngineBackend/CuraEngineBackend.py2
1 files changed, 1 insertions, 1 deletions
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)...")