From 053517e6e238790e412d84ff1962583bf18768db Mon Sep 17 00:00:00 2001 From: "Zheng, Lei" Date: Sun, 10 Jun 2018 09:17:40 +0800 Subject: [PATCH] system: fix offset in PlaneAlignment --- system.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system.py b/system.py index 98fd077..d89d312 100644 --- a/system.py +++ b/system.py @@ -230,7 +230,7 @@ def addPlaneAlignment(self,d,lockAngle,yaw,pitch,roll,pln1,pln2,group=0): count = 0 if d: h.append(self.addPointPlaneDistance( - d, pln2.origin.entity, pln1.entity.entity, group=group)) + d, pln2.origin.entity, pln1.entity, group=group)) else: h.append(self.addPointInPlane( pln2.origin.entity, pln1.entity,group=group))