Skip to content

Commit

Permalink
Draft: Fixed offset in SelectPlane tool - fixes #1606
Browse files Browse the repository at this point in the history
  • Loading branch information
yorikvanhavre committed Aug 4, 2014
1 parent a601434 commit a7d1b80
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Mod/Draft/DraftTools.py
Expand Up @@ -249,7 +249,7 @@ def Activated(self,name="None"):
if Draft.getParam("showPlaneTracker",False):
self.planetrack = PlaneTracker()

def finish(self):
def finish(self,close=False):
self.node = []
FreeCAD.activeDraftCommand = None
if self.ui:
Expand Down Expand Up @@ -367,7 +367,7 @@ def action(self, arg):

def selectHandler(self, arg):
try:
self.offset = float(self.ui.offsetValue.text())
self.offset = float(self.ui.offset)
except:
self.offset = 0
if arg == "XY":
Expand Down

0 comments on commit a7d1b80

Please sign in to comment.