Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack Ha <jackha@gmail.com>2017-12-21 15:15:10 +0300
committerJack Ha <jackha@gmail.com>2017-12-21 15:15:10 +0300
commit9f8eae006c77000f3d17c9cb3b4c5873ac6cec4d (patch)
tree9619912042b71b9e67ba0632c3a22380ed5a3165 /cura/PlatformPhysics.py
parentc05e6b43fff33148ce75230441edacbd8b4d5895 (diff)
Fix push free. CURA-4525
Diffstat (limited to 'cura/PlatformPhysics.py')
-rwxr-xr-xcura/PlatformPhysics.py2
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