fix #6250: have name of duplicated type show in outliner, as well.

This commit is contained in:
Ryan Schultz
2025-11-30 19:07:14 -06:00
parent 3b83f978ab
commit e3d254d3e5
@@ -347,6 +347,9 @@ class DuplicateType(bpy.types.Operator, tool.Ifc.Operator):
if self.description:
new.Description = self.description
# Update the Blender object name to match the IFC element name
tool.Root.set_object_name(new_obj, new)
bpy.ops.bim.load_type_thumbnails()
# Assign selected objects to the new type if requested