diff options
author | Nino van Hooff <ninovanhooff@gmail.com> | 2020-05-29 15:30:33 +0300 |
---|---|---|
committer | Nino van Hooff <ninovanhooff@gmail.com> | 2020-05-29 15:30:33 +0300 |
commit | 89f0970a887612a6819263633180d027d06224af (patch) | |
tree | 0b900495a95a234c15f893563975eb346aee6e20 /cura/PlatformPhysics.py | |
parent | 1e33360c359373f7acbf95ca9706514d12c0dd7f (diff) |
Remove trailing whitespace from Python files
Diffstat (limited to 'cura/PlatformPhysics.py')
-rwxr-xr-x | cura/PlatformPhysics.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cura/PlatformPhysics.py b/cura/PlatformPhysics.py index 015795e506..5fd2e70a1c 100755 --- a/cura/PlatformPhysics.py +++ b/cura/PlatformPhysics.py @@ -95,15 +95,15 @@ class PlatformPhysics: # Ignore root, ourselves and anything that is not a normal SceneNode. if other_node is root or not issubclass(type(other_node), SceneNode) or other_node is node or other_node.callDecoration("getBuildPlateNumber") != node.callDecoration("getBuildPlateNumber"): continue - + # Ignore collisions of a group with it's own children if other_node in node.getAllChildren() or node in other_node.getAllChildren(): continue - + # Ignore collisions within a group if other_node.getParent() and node.getParent() and (other_node.getParent().callDecoration("isGroup") is not None or node.getParent().callDecoration("isGroup") is not None): continue - + # Ignore nodes that do not have the right properties set. if not other_node.callDecoration("getConvexHull") or not other_node.getBoundingBox(): continue |