Meshes are auto updated in the IFC as well when edit mode is toggled now.

This commit is contained in:
Dion Moult
2021-02-23 19:19:06 +11:00
parent 28fbf0ea99
commit 1e22dbca1e
4 changed files with 36 additions and 3 deletions
@@ -1,5 +1,6 @@
import bpy
import ifcopenshell
import blenderbim.bim.handler
class IfcStore:
@@ -36,6 +37,7 @@ class IfcStore:
if hasattr(element, "GlobalId"):
IfcStore.guid_map[element.GlobalId] = obj
obj.BIMObjectProperties.ifc_definition_id = element.id()
blenderbim.bim.handler.subscribe_to(obj, "mode", blenderbim.bim.handler.mode_callback)
@staticmethod
def unlink_element(element, obj=None):