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 73d9793725
commit f43af65eca

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: