From c79020aeabcfe8e92f9132fc9ee8052dc0eed3f8 Mon Sep 17 00:00:00 2001 From: Dion Moult Date: Tue, 18 Feb 2025 16:31:36 +1100 Subject: [PATCH] See #5888. Debugging undos is hard, so include the operator name in the event log. --- src/bonsai/bonsai/bim/ifc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bonsai/bonsai/bim/ifc.py b/src/bonsai/bonsai/bim/ifc.py index 19bea87ca5..1c5d7800b1 100644 --- a/src/bonsai/bonsai/bim/ifc.py +++ b/src/bonsai/bonsai/bim/ifc.py @@ -479,7 +479,7 @@ class IfcStore: @staticmethod def begin_transaction(operator: tool.Ifc.Operator) -> None: - IfcStore.current_transaction = str(uuid.uuid4()) + IfcStore.current_transaction = str(uuid.uuid4()) + operator.__class__.__name__ operator.transaction_key = IfcStore.current_transaction @staticmethod