From 5496acdcf149ee3d0ce52a23ad652888791dbb90 Mon Sep 17 00:00:00 2001 From: Yorik van Havre Date: Wed, 7 Mar 2012 10:34:32 -0300 Subject: [PATCH] Fixed bug in Draft working plane (Jose) --- src/Mod/Draft/WorkingPlane.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/Draft/WorkingPlane.py b/src/Mod/Draft/WorkingPlane.py index 9aa384f5e..160df966e 100644 --- a/src/Mod/Draft/WorkingPlane.py +++ b/src/Mod/Draft/WorkingPlane.py @@ -83,7 +83,7 @@ class plane: = (cp . axis) / (direction . axis) ''' if direction == None: direction = self.axis - return self.axis.dot(self.position.sub(p))/self.axis.dot(direction) + return direction.dot(self.position.sub(p)) def projectPoint(self, p, direction=None): '''project point onto plane, default direction is orthogonal'''