Skip to content

Commit

Permalink
Merge branch 'master' of github.com:prochitecture/bpypolyskel
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladimir Elistratov committed Dec 4, 2020
2 parents ae716e5 + d5ebcd4 commit 82e334c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bpypolyskel/poly2FacesGraph.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,8 @@ def faces(self, embedding, nrOfPolyVerts):
edgeset -= set([edge])
break # (Only one iteration)
else:
if tup in path:
raise Exception('Endless loop catched in poly2FacesGraph faces()')
path.append(tup)
edgeset -= set([tup])
if (len(path) != 0):
Expand Down

0 comments on commit 82e334c

Please sign in to comment.