mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 16:28:59 +08:00
Fix push free. CURA-4525
This commit is contained in:
parent
c05e6b43ff
commit
9f8eae006c
@ -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:
|
||||
if other_node is root or not issubclass(type(other_node), SceneNode) or other_node is node:
|
||||
continue
|
||||
|
||||
# Ignore collisions of a group with it's own children
|
||||
|
Loading…
x
Reference in New Issue
Block a user