From 5ba4a67519bd07db23f44eb510cfdf1bfbe82109 Mon Sep 17 00:00:00 2001 From: Jaime van Kessel Date: Wed, 15 Jul 2015 15:28:48 +0200 Subject: [PATCH] Nested groups are now correctly handled in platform physics --- cura/PlatformPhysics.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cura/PlatformPhysics.py b/cura/PlatformPhysics.py index 0de91eb091..20e5c9ecc4 100644 --- a/cura/PlatformPhysics.py +++ b/cura/PlatformPhysics.py @@ -80,7 +80,7 @@ class PlatformPhysics: # Check for collisions between convex hulls for other_node in BreadthFirstIterator(root): # Ignore root, ourselves and anything that is not a normal SceneNode. - if other_node is root or type(other_node) is not SceneNode or other_node is node or other_node in node.getChildren() or node in other_node.getChildren(): + if other_node is root or type(other_node) is not SceneNode or other_node is node or other_node in node.getAllChildren() or node in other_node.getAllChildren(): continue # Ignore nodes that do not have the right properties set.