mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-19 14:41:25 +00:00
fix #6250: have name of duplicated type show in outliner, as well.
This commit is contained in:
@@ -347,6 +347,9 @@ class DuplicateType(bpy.types.Operator, tool.Ifc.Operator):
|
|||||||
if self.description:
|
if self.description:
|
||||||
new.Description = 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()
|
bpy.ops.bim.load_type_thumbnails()
|
||||||
|
|
||||||
# Assign selected objects to the new type if requested
|
# Assign selected objects to the new type if requested
|
||||||
|
|||||||
Reference in New Issue
Block a user