fix two never ending while loops in PathSurfaceSupport

This commit is contained in:
Eric Trombly
2020-07-17 13:59:00 -05:00
parent 72b8d36457
commit fca189debc

View File

@@ -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