Remove fallback from ca96815 since bonsai build is already updated

This commit is contained in:
Andrej730
2024-11-13 17:32:19 +05:00
parent 2845071621
commit a7caee14b0
+1 -5
View File
@@ -1061,11 +1061,7 @@ class IfcImporter:
v2 = vertices[edge[1]]
polyline.points.add(1)
polyline.points[-1].co = mathutils.Vector(v2)
# TODO: remove error handling after we update build in Bonsai.
try:
edges_item_ids = ifcopenshell.util.shape.get_edges_representation_item_ids(geometry).tolist()
except AttributeError:
edges_item_ids = []
edges_item_ids = ifcopenshell.util.shape.get_edges_representation_item_ids(geometry).tolist()
curve["ios_edges_item_ids"] = edges_item_ids
return curve