diff options
author | Jaime van Kessel <nallath@gmail.com> | 2020-05-01 15:39:23 +0300 |
---|---|---|
committer | Jaime van Kessel <nallath@gmail.com> | 2020-05-01 15:39:23 +0300 |
commit | 245a4435e1c92e899bd6316e0d23075c14924b07 (patch) | |
tree | 4019209a0f2f9b29ece515293618f15b1bdae15a /plugins/CuraEngineBackend | |
parent | d2be622d48490de8a9eb99f0dcb49afb6351b795 (diff) |
Also handle sceneChanged when it's from the root
The rest of the code also seems to expect that
Diffstat (limited to 'plugins/CuraEngineBackend')
-rwxr-xr-x | plugins/CuraEngineBackend/CuraEngineBackend.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |