Skip to content

Commit

Permalink
fix(polyface): Fix from_faces bug
Browse files Browse the repository at this point in the history
  • Loading branch information
santiagogaray committed Nov 21, 2019
1 parent 5bbbce0 commit a1c6a5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ladybug_geometry/geometry3d/polyface.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ def from_faces(cls, faces, tolerance=0):
face_indices = [] # collection of face indices
for f in faces:
ind = []
loops = [f.boundary] if not f.has_holes else [f.boundary] + f.holes
loops = (f.boundary,) if not f.has_holes else (f.boundary,) + f.holes
for j, loop in enumerate(loops):
ind.append([])
for v in loop:
Expand Down

0 comments on commit a1c6a5c

Please sign in to comment.