From 87f88bba305f0bb02a821061fb4c8dd6fcaa7dc8 Mon Sep 17 00:00:00 2001 From: tetektoza Date: Wed, 15 Oct 2025 10:21:38 +0200 Subject: [PATCH] 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. --- src/Mod/BIM/bimcommands/BimUnclone.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Mod/BIM/bimcommands/BimUnclone.py b/src/Mod/BIM/bimcommands/BimUnclone.py index ea43b261ef..7cb13a5eef 100644 --- a/src/Mod/BIM/bimcommands/BimUnclone.py +++ b/src/Mod/BIM/bimcommands/BimUnclone.py @@ -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: