IFC Join - support joining non-ifc Blender objects into representation items

Short demo - https://imgur.com/a/o9MJiIr
This commit is contained in:
Andrej730
2025-04-28 17:19:04 +05:00
parent 5e26e55a8c
commit 784576b249
@@ -1591,6 +1591,9 @@ class OverrideJoin(bpy.types.Operator, tool.Ifc.Operator):
if selected_obj != self.target:
tool.Geometry.dissolve_triangulated_edges(selected_obj)
joined_ifc_item_objs.append(selected_obj)
elif not tool.Ifc.get_entity(selected_obj) and selected_obj.type == self.target_type:
# Allow joining with non-ifc Blender objects.
pass
else:
selected_obj.select_set(False)