From fca189debcc7d3606f3eb4a2735336a1ebbe7a8c Mon Sep 17 00:00:00 2001 From: Eric Trombly Date: Fri, 17 Jul 2020 13:59:00 -0500 Subject: [PATCH] fix two never ending while loops in PathSurfaceSupport --- src/Mod/Path/PathScripts/PathSurfaceSupport.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Mod/Path/PathScripts/PathSurfaceSupport.py b/src/Mod/Path/PathScripts/PathSurfaceSupport.py index 352dfdbb34..92e8146b93 100644 --- a/src/Mod/Path/PathScripts/PathSurfaceSupport.py +++ b/src/Mod/Path/PathScripts/PathSurfaceSupport.py @@ -2094,6 +2094,8 @@ class FindUnifiedRegions: holds = list() if idxCnt == 0: cont = False + if safety == 0: + cont = False # Ewhile numLoops = len(LOOPS) @@ -2179,6 +2181,7 @@ class FindUnifiedRegions: hold.extend(Ids) Ids = hold hold = list() + idsCnt = len(Ids) if len(Ids) == 0: cont = False # Ewhile