use explicit floor division, fixes #3694

This commit is contained in:
dessant 2015-10-14 00:03:29 +03:00
parent 67b0332868
commit af77ba463b
1 changed files with 1 additions and 1 deletions

View File

@ -114,7 +114,7 @@ class ShapeBuilder(FloatLayout):
Color(c, 1, 1, mode="hsv")
c += 0.3
indices = [0]
for i in range(1, len(vertices) / 4):
for i in range(1, len(vertices) // 4):
if i > 0:
indices.append(i)
indices.append(i)