diff --git a/src/bonsai/bonsai/bim/ifc.py b/src/bonsai/bonsai/bim/ifc.py index 6e4c3d27a9..097b5c7233 100644 --- a/src/bonsai/bonsai/bim/ifc.py +++ b/src/bonsai/bonsai/bim/ifc.py @@ -383,6 +383,9 @@ class IfcStore: obj.BIMStyleProperties.ifc_definition_id = 0 else: # bpy.types.Object obj.BIMObjectProperties.ifc_definition_id = 0 + # NOTE: in theory this will also remove listeners added by other addons + # though never had a report when this would be a problem. + bpy.msgbus.clear_by_owner(obj) @staticmethod def execute_ifc_operator(operator: tool.Ifc.Operator, context: bpy.types.Context, is_invoke=False) -> set[str]: