From 7fcfef597258de472caf04caf49d09a4d5bd79c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbyn=C4=9Bk=20Winkler?= Date: Wed, 25 Jun 2025 15:31:36 +0200 Subject: [PATCH] Copy subvolume before changing its Placement Placement property of a cached object was modified each time component is recalculated. Fixes #22162. --- src/Mod/BIM/ArchComponent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/BIM/ArchComponent.py b/src/Mod/BIM/ArchComponent.py index ad04c2ce6a..836ff2c01b 100644 --- a/src/Mod/BIM/ArchComponent.py +++ b/src/Mod/BIM/ArchComponent.py @@ -782,7 +782,7 @@ class Component(ArchIFC.IfcProduct): subvolume = o.getLinkedObject().Proxy.getSubVolume(o,host=obj) # pass host obj (mostly Wall) elif (Draft.getType(o) == "Roof") or (Draft.isClone(o,"Roof")): # roofs define their own special subtraction volume - subvolume = o.Proxy.getSubVolume(o) + subvolume = o.Proxy.getSubVolume(o).copy() elif hasattr(o,"Subvolume") and hasattr(o.Subvolume,"Shape"): # Any other object with a Subvolume property ## TODO - Part.Shape() instead?