diff options
author | Ghostkeeper <rubend@tutanota.com> | 2021-01-28 13:48:18 +0300 |
---|---|---|
committer | Ghostkeeper <rubend@tutanota.com> | 2021-01-28 13:48:18 +0300 |
commit | 3921cc86d1e3b9e86c5cd0a27cdc83be01b25106 (patch) | |
tree | 05751919c8438451ed4ca2ab94ad497881d3b5d3 /plugins/CuraEngineBackend | |
parent | 35d6aad6cd7e8a16fbb829dcf8f0b70db12d0028 (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-x | plugins/CuraEngineBackend/CuraEngineBackend.py | 2 |
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)...") |