From 2023973e98ee3576c92037c5c24c85d633d36c86 Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Wed, 4 Jul 2018 17:39:24 +0200 Subject: [PATCH] Use _engine_ready to detect if there is a QML engine We already have this variable. Let's not use a private variable from another class. --- cura/BuildVolume.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cura/BuildVolume.py b/cura/BuildVolume.py index d0563a5352..885143ac69 100755 --- a/cura/BuildVolume.py +++ b/cura/BuildVolume.py @@ -294,7 +294,7 @@ class BuildVolume(SceneNode): if not self._width or not self._height or not self._depth: return - if not self._application._qml_engine: + if not self._engine_ready: return if not self._volume_outline_color: