From 245a4435e1c92e899bd6316e0d23075c14924b07 Mon Sep 17 00:00:00 2001 From: Jaime van Kessel Date: Fri, 1 May 2020 14:39:23 +0200 Subject: [PATCH] Also handle sceneChanged when it's from the root The rest of the code also seems to expect that --- plugins/CuraEngineBackend/CuraEngineBackend.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/CuraEngineBackend/CuraEngineBackend.py b/plugins/CuraEngineBackend/CuraEngineBackend.py index 6a8a4a7347..0952315235 100755 --- a/plugins/CuraEngineBackend/CuraEngineBackend.py +++ b/plugins/CuraEngineBackend/CuraEngineBackend.py @@ -489,7 +489,7 @@ class CuraEngineBackend(QObject, Backend): # # \param source The scene node that was changed. def _onSceneChanged(self, source: SceneNode) -> None: - if not source.callDecoration("isSliceable"): + if not source.callDecoration("isSliceable") and source != self._scene.getRoot(): return # This case checks if the source node is a node that contains GCode. In this case the