merge_identical_objects - temporarily replace get_info_2 with get_info

This commit is contained in:
Andrej730
2024-10-03 18:37:53 +05:00
parent c3e4ebd996
commit 3b71d00508
+2 -1
View File
@@ -111,7 +111,8 @@ class Debug(bonsai.core.tool.Debug):
"""
def get_hash(element: ifcopenshell.entity_instance) -> int:
return hash(json.dumps(element.get_info_2(include_identifier=False, recursive=True), sort_keys=True))
# TODO: replace with get_info_2 after bonsai build update.
return hash(json.dumps(element.get_info(include_identifier=False, recursive=True), sort_keys=True))
ifc_file = tool.Ifc.get()