diff options
author | Jack Ha <jackha@gmail.com> | 2017-12-21 15:15:10 +0300 |
---|---|---|
committer | Jack Ha <jackha@gmail.com> | 2017-12-21 15:15:10 +0300 |
commit | 9f8eae006c77000f3d17c9cb3b4c5873ac6cec4d (patch) | |
tree | 9619912042b71b9e67ba0632c3a22380ed5a3165 /cura/PlatformPhysics.py | |
parent | c05e6b43fff33148ce75230441edacbd8b4d5895 (diff) |
Fix push free. CURA-4525
Diffstat (limited to 'cura/PlatformPhysics.py')
-rwxr-xr-x | cura/PlatformPhysics.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cura/PlatformPhysics.py b/cura/PlatformPhysics.py index cc2074cc3e..5a57912db6 100755 --- 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: + 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 |