mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Nested groups are now correctly handled in platform physics
This commit is contained in:
parent
ba612f188a
commit
5ba4a67519
1 changed files with 1 additions and 1 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue