From b32bbb89a1d31f389c3e77be058c8e224242f2fe Mon Sep 17 00:00:00 2001 From: Dion Moult Date: Fri, 29 Oct 2021 18:04:47 +1100 Subject: [PATCH] Optimistically track all object edits whenever you toggle edit mode, not just meshes. --- src/blenderbim/blenderbim/bim/handler.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/blenderbim/blenderbim/bim/handler.py b/src/blenderbim/blenderbim/bim/handler.py index a97c7d6c02..5ec8d94944 100644 --- a/src/blenderbim/blenderbim/bim/handler.py +++ b/src/blenderbim/blenderbim/bim/handler.py @@ -50,9 +50,7 @@ def mode_callback(obj, data): ): continue if obj.data.BIMMeshProperties.ifc_definition_id: - representation = IfcStore.get_file().by_id(obj.data.BIMMeshProperties.ifc_definition_id) - if representation.RepresentationType in ["Tessellation", "Brep", "Annotation2D"]: - IfcStore.edited_objs.add(obj) + IfcStore.edited_objs.add(obj) elif IfcStore.get_file().by_id(obj.BIMObjectProperties.ifc_definition_id).is_a("IfcGridAxis"): IfcStore.edited_objs.add(obj)