Skip to content

Commit

Permalink
Fixed errors in DraftSnap.py
Browse files Browse the repository at this point in the history
  • Loading branch information
yorikvanhavre committed Feb 20, 2018
1 parent 5e5aa51 commit f445ace
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Mod/Draft/DraftSnap.py
Expand Up @@ -202,7 +202,7 @@ def cstr(point):
self.setCursor('passive')
if self.tracker:
self.tracker.off()
if self.extLine:
if self.extLine2:
self.extLine2.off()
if self.extLine:
self.extLine.off()
Expand Down Expand Up @@ -914,7 +914,7 @@ def setArchDims(self,p1,p2):
if not self.dim1:
self.dim1 = DraftTrackers.archDimTracker(mode=2)
if not self.dim2:
self.dim1 = DraftTrackers.archDimTracker(mode=3)
self.dim2 = DraftTrackers.archDimTracker(mode=3)
self.dim1.p1(p1)
self.dim2.p1(p1)
self.dim1.p2(p2)
Expand Down

0 comments on commit f445ace

Please sign in to comment.