mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-11 01:19:01 +08: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
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user