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.
This commit is contained in:
Ghostkeeper 2018-07-04 17:39:24 +02:00
parent 715eda4f59
commit 2023973e98
No known key found for this signature in database
GPG key ID: 5252B696FB5E7C7A

View file

@ -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: