mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-12 22:43:41 +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]
|
representation.Items = list(representation.Items) + [item]
|
||||||
obj.name = obj.data.name = f"Item/{item.is_a()}/{item.id()}"
|
obj.name = obj.data.name = f"Item/{item.is_a()}/{item.id()}"
|
||||||
tool.Ifc.link(item, obj)
|
tool.Ifc.link(item, obj)
|
||||||
|
tool.Ifc.link(item, obj.data)
|
||||||
props.add_item_object(obj, item)
|
props.add_item_object(obj, item)
|
||||||
|
|
||||||
def separate_element(
|
def separate_element(
|
||||||
|
|||||||
Reference in New Issue
Block a user