mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-13 09:47:50 -06:00
Also handle sceneChanged when it's from the root
The rest of the code also seems to expect that
This commit is contained in:
parent
d2be622d48
commit
245a4435e1
1 changed files with 1 additions and 1 deletions
|
@ -489,7 +489,7 @@ class CuraEngineBackend(QObject, Backend):
|
||||||
#
|
#
|
||||||
# \param source The scene node that was changed.
|
# \param source The scene node that was changed.
|
||||||
def _onSceneChanged(self, source: SceneNode) -> None:
|
def _onSceneChanged(self, source: SceneNode) -> None:
|
||||||
if not source.callDecoration("isSliceable"):
|
if not source.callDecoration("isSliceable") and source != self._scene.getRoot():
|
||||||
return
|
return
|
||||||
|
|
||||||
# This case checks if the source node is a node that contains GCode. In this case the
|
# This case checks if the source node is a node that contains GCode. In this case the
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue