Merge pull request #4024 from Ultimaker/fix_use_engine_ready

Use _engine_ready to detect if there is a QML engine
This commit is contained in:
Diego Prado Gesto 2018-07-05 13:57:53 +02:00 committed by GitHub
commit ab339e7784
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -294,7 +294,7 @@ class BuildVolume(SceneNode):
if not self._width or not self._height or not self._depth: if not self._width or not self._height or not self._depth:
return return
if not self._application._qml_engine: if not self._engine_ready:
return return
if not self._volume_outline_color: if not self._volume_outline_color: