Update ifc geometry on sverchok update

This commit is contained in:
Andrej730
2023-01-06 12:23:54 +05:00
parent 618ecccb7b
commit 74fee24004
@@ -28,7 +28,7 @@ import ifcopenshell
import blenderbim import blenderbim
import blenderbim.tool as tool import blenderbim.tool as tool
from blenderbim.bim.module.model.prop import BIMStairProperties from blenderbim.bim.module.model.prop import BIMStairProperties
from blenderbim.bim.ifc import IfcStore
from mathutils import Vector from mathutils import Vector
from pprint import pprint from pprint import pprint
@@ -70,6 +70,7 @@ def update_sverchok_modifier(context):
bm.to_mesh(obj.data) bm.to_mesh(obj.data)
bm.free() bm.free()
obj.data.update() obj.data.update()
IfcStore.edited_objs.add(obj)
# UI operators # UI operators