Skip to content

Commit

Permalink
py3: Draft: Trackers integer division
Browse files Browse the repository at this point in the history
  • Loading branch information
looooo authored and wwmayer committed Feb 4, 2017
1 parent 8165b2a commit 76a4e74
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Mod/Draft/DraftTrackers.py
Expand Up @@ -803,8 +803,8 @@ def __init__(self):
def update(self):
"redraws the grid"
# resize the grid to make sure it fits an exact pair number of main lines
numlines = self.numlines/self.mainlines/2*2*self.mainlines
bound = (numlines/2)*self.space
numlines = self.numlines//self.mainlines//2*2*self.mainlines
bound = (numlines//2)*self.space
pts = []
mpts = []
apts = []
Expand Down

0 comments on commit 76a4e74

Please sign in to comment.