mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 09:21:46 +00:00
IFC Mesh Separate - fix bug when new separated mesh wasn't relinked to a new ifc item
This commit is contained in:
@@ -170,6 +170,7 @@ class OverrideMeshSeparate(bpy.types.Operator, tool.Ifc.Operator):
|
||||
representation.Items = list(representation.Items) + [item]
|
||||
obj.name = obj.data.name = f"Item/{item.is_a()}/{item.id()}"
|
||||
tool.Ifc.link(item, obj)
|
||||
tool.Ifc.link(item, obj.data)
|
||||
props.add_item_object(obj, item)
|
||||
|
||||
def separate_element(
|
||||
|
||||
Reference in New Issue
Block a user