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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user