diff --git a/cura/Scene/CuraSceneNode.py b/cura/Scene/CuraSceneNode.py index 4fd8f2b983..1983bc6008 100644 --- a/cura/Scene/CuraSceneNode.py +++ b/cura/Scene/CuraSceneNode.py @@ -116,11 +116,11 @@ class CuraSceneNode(SceneNode): if self._mesh_data: self._aabb = self._mesh_data.getExtents(self.getWorldTransformation()) - for child in self._children: + for child in self.getAllChildren(): if child.callDecoration("isNonPrintingMesh"): # Non-printing-meshes inside a group should not affect push apart or drop to build plate continue - if not child._mesh_data: + if not child.getMeshData(): # Nodes without mesh data should not affect bounding boxes of their parents. continue if self._aabb is None: