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 <j.ha@ultimaker.com>2016-07-27 18:39:42 +0300
committerJack Ha <j.ha@ultimaker.com>2016-07-27 18:39:42 +0300
commit99ec4bff82ed25d2361e9f9deac1c3f1ddfb0e9b (patch)
tree615565a72574839cfa832f491a4642e98bbacd54
parent625b2a538e8a2fe1b523a9de7269a487d8f2dfcb (diff)
Check ConvexHullHead vs ConvexHullHead collision. CURA-1776v2.1.32.1.3
-rw-r--r--cura/PlatformPhysics.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cura/PlatformPhysics.py b/cura/PlatformPhysics.py
index 5299f4c5d0..593317a6eb 100644
--- a/cura/PlatformPhysics.py
+++ b/cura/PlatformPhysics.py
@@ -117,11 +117,11 @@ class PlatformPhysics:
try:
head_hull = node.callDecoration("getConvexHullHead")
if head_hull:
- overlap = head_hull.intersectsPolygon(other_node.callDecoration("getConvexHull"))
+ overlap = head_hull.intersectsPolygon(other_node.callDecoration("getConvexHullHead"))
if not overlap:
other_head_hull = other_node.callDecoration("getConvexHullHead")
if other_head_hull:
- overlap = node.callDecoration("getConvexHull").intersectsPolygon(other_head_hull)
+ overlap = node.callDecoration("getConvexHullHead").intersectsPolygon(other_head_hull)
else:
overlap = node.callDecoration("getConvexHull").intersectsPolygon(other_node.callDecoration("getConvexHull"))
except: