1 # http://www.freecadweb.org/tracker/view.php?id=1757
3 From 328bdcf6363f1107447858c2dd939ecae1005f47 Mon Sep 17 00:00:00 2001
4 From: Yorik van Havre <yorik@uncreated.net>
5 Date: Thu, 18 Sep 2014 19:39:37 -0300
6 Subject: [PATCH] Draft: small fix in trackers - fixes #1757
9 src/Mod/Draft/DraftSnap.py | 5 ++++-
10 1 file changed, 4 insertions(+), 1 deletion(-)
12 diff --git a/src/Mod/Draft/DraftSnap.py b/src/Mod/Draft/DraftSnap.py
13 index ac57d43..af53881 100644
14 --- a/src/Mod/Draft/DraftSnap.py
15 +++ b/src/Mod/Draft/DraftSnap.py
16 @@ -575,7 +575,10 @@ def snapToPolar(self,point,last):
17 vecs.extend([v,v.negative()])
19 if not DraftVecUtils.isNull(v):
20 - de = Part.Line(last,last.add(v)).toShape()
22 + de = Part.Line(last,last.add(v)).toShape()
25 np = self.getPerpendicular(de,point)
26 if ((self.radius == 0) and (point.sub(last).getAngle(v) < 0.087)) \
27 or ((np.sub(point)).Length < self.radius):