diff --git a/src/Mod/Path/PathScripts/PathUtils.py b/src/Mod/Path/PathScripts/PathUtils.py index 6021595c09..b7931145c1 100644 --- a/src/Mod/Path/PathScripts/PathUtils.py +++ b/src/Mod/Path/PathScripts/PathUtils.py @@ -763,6 +763,7 @@ class depth_params: self.index = 0 def __iter__(self): + self.index = 0 return self def __next__(self):