Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaime van Kessel <nallath@gmail.com>2020-05-01 15:39:23 +0300
committerJaime van Kessel <nallath@gmail.com>2020-05-01 15:39:23 +0300
commit245a4435e1c92e899bd6316e0d23075c14924b07 (patch)
tree4019209a0f2f9b29ece515293618f15b1bdae15a /plugins/CuraEngineBackend
parentd2be622d48490de8a9eb99f0dcb49afb6351b795 (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-xplugins/CuraEngineBackend/CuraEngineBackend.py2
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