mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-09-13 15:43:16 +08:00
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:
parent
715eda4f59
commit
2023973e98
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user