From 3b71d00508ef20ca9eadff69c019b73b1b00c582 Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Thu, 3 Oct 2024 18:37:53 +0500 Subject: [PATCH] merge_identical_objects - temporarily replace get_info_2 with get_info --- src/bonsai/bonsai/tool/debug.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/bonsai/bonsai/tool/debug.py b/src/bonsai/bonsai/tool/debug.py index 57c6965d58..25fee59200 100644 --- a/src/bonsai/bonsai/tool/debug.py +++ b/src/bonsai/bonsai/tool/debug.py @@ -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()