diff --git a/hub/city_model_structure/attributes/polyhedron.py b/hub/city_model_structure/attributes/polyhedron.py index f27a8ff1..553f1e26 100644 --- a/hub/city_model_structure/attributes/polyhedron.py +++ b/hub/city_model_structure/attributes/polyhedron.py @@ -91,7 +91,7 @@ class Polyhedron: face = [] points = polygon.coordinates if len(points) != 3: - sub_polygons = polygon.triangulate() + sub_polygons = polygon.triangles # todo: I modified this! To be checked @Guille if len(sub_polygons) >= 1: for sub_polygon in sub_polygons: