From b3cfb29038fc1f6df5a45ac83be0c256e366c8f2 Mon Sep 17 00:00:00 2001 From: Russell Johnson <47639332+Russ4262@users.noreply.github.com> Date: Thu, 18 Feb 2021 02:21:21 -0600 Subject: [PATCH] Path: Fix range() input type per gcc-7 build --- src/Mod/Path/PathScripts/PathProfile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/Path/PathScripts/PathProfile.py b/src/Mod/Path/PathScripts/PathProfile.py index 4a06125a66..a0f3172509 100644 --- a/src/Mod/Path/PathScripts/PathProfile.py +++ b/src/Mod/Path/PathScripts/PathProfile.py @@ -1263,7 +1263,7 @@ class ObjectProfile(PathAreaOp.ObjectOp): nt = 4 # desired + 1 mid = LE / nt spc = self.radius / 10 - for i in range(0, nt): + for i in range(0, int(nt)): if i == 0: if e == 0: if LE > 0.2: