fix HybridGeometry.is_empty

This commit is contained in:
Laura Klünder 2018-12-23 19:40:37 +01:00
parent b70f205fc9
commit f1db7f6a26

View file

@ -123,6 +123,7 @@ class HybridGeometry:
@property
def is_empty(self):
return self.geom.is_empty
return not self.faces and not any(self.add_faces.values())
def build_polyhedron(self, create_polyhedron, crops=None, **kwargs):