mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 17:31:45 +00:00
See #5888. Debugging undos is hard, so include the operator name in the event log.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user