fix _create_polyhedron with no faces

This commit is contained in:
Laura Klünder 2017-11-14 00:01:07 +01:00
parent d023af3531
commit 7294fa33b2

View file

@ -472,7 +472,7 @@ class LevelGeometries:
def _create_polyhedron(self, faces, bottom=None, top=None, crops=None):
if not any(faces):
return
return ()
# collect rings/boundaries
boundaries = deque()