py3: Draft: Trackers integer division

This commit is contained in:
looooo 2017-01-30 21:32:13 +01:00 committed by wmayer
parent 8165b2ab85
commit 76a4e7469b

View File

@ -803,8 +803,8 @@ class gridTracker(Tracker):
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 = []