diff --git a/src/Mod/Draft/WorkingPlane.py b/src/Mod/Draft/WorkingPlane.py index 9aa384f5e4..160df966e6 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'''