diff options
author | Jaime van Kessel <nallath@gmail.com> | 2016-09-01 16:41:23 +0300 |
---|---|---|
committer | Jaime van Kessel <nallath@gmail.com> | 2016-09-01 16:41:23 +0300 |
commit | 7d8b3dfa515b44e5f4abb899ce19a1420ae846ca (patch) | |
tree | fac29d3e1102ba687af8715ce7672f78d0bb1065 /cura/PlatformPhysics.py | |
parent | 392e3a4385aa44bbee6bec7e8a792692ab21f993 (diff) |
One at a time now uses correct shapes to push free again
CURA-403
Diffstat (limited to 'cura/PlatformPhysics.py')
-rw-r--r-- | cura/PlatformPhysics.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cura/PlatformPhysics.py b/cura/PlatformPhysics.py index 2a42765d3f..c9afb4ccbd 100644 --- a/cura/PlatformPhysics.py +++ b/cura/PlatformPhysics.py @@ -102,11 +102,11 @@ class PlatformPhysics: # Get the overlap distance for both convex hulls. If this returns None, there is no intersection. head_hull = node.callDecoration("getConvexHullHead") if head_hull: - overlap = head_hull.intersectsPolygon(other_node.callDecoration("getConvexHullHead")) + overlap = head_hull.intersectsPolygon(other_node.callDecoration("getConvexHull")) if not overlap: other_head_hull = other_node.callDecoration("getConvexHullHead") if other_head_hull: - overlap = node.callDecoration("getConvexHullHead").intersectsPolygon(other_head_hull) + overlap = node.callDecoration("getConvexHull").intersectsPolygon(other_head_hull) else: own_convex_hull = node.callDecoration("getConvexHull") other_convex_hull = other_node.callDecoration("getConvexHull") |