mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-17 14:02:27 +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
|
@staticmethod
|
||||||
def begin_transaction(operator: tool.Ifc.Operator) -> None:
|
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
|
operator.transaction_key = IfcStore.current_transaction
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
|
|||||||
Reference in New Issue
Block a user