[Draft]fix circular array python2

There was semantic change of the division operator ‘/’
from python2 to python3. This fix makes the circular array
work with python2 correctly.
See PEP 238
This commit is contained in:
M G Berberich
2020-01-28 20:41:32 +01:00
committed by Yorik van Havre
parent 21f8b80f55
commit 15bef3283f

View File

@@ -5349,7 +5349,7 @@ class _Array(_DraftLink):
n = math.floor(c/tdist)
n = int(math.floor(n/sym)*sym)
if n == 0: continue
angle = 360/n
angle = 360.0/n
for ycount in range(0, n):
npl = pl.copy()
trans = FreeCAD.Vector(direction).multiply(rc)