BIM: Remove icon after unclone (#24654)

As the title says - upon unclone icon is not being removed, but the
cloned item stops mirroring original item which is correct, so this just
aligns the icon removal logic with the correct behavior.
This commit is contained in:
tetektoza
2025-10-15 10:21:38 +02:00
committed by GitHub
parent 41ce37233d
commit 87f88bba30

View File

@@ -69,6 +69,8 @@ class BIM_Unclone:
else:
newobj = obj
newobj.CloneOf = None
if hasattr(newobj, "ViewObject") and newobj.ViewObject:
newobj.ViewObject.signalChangeIcon()
# copy properties over, except special ones
for prop in cloned.PropertiesList: