Arch: fix Placement multiplication for subvolumes

Fixes #11185.

Same problem as in #6617.
This commit is contained in:
Roy-043
2023-11-11 15:05:35 +01:00
parent cf9ed2b070
commit baf37cb1cc
+2 -2
View File
@@ -984,9 +984,9 @@ class _Window(ArchComponent.Component):
if not obj.Subvolume.Shape.isNull():
sh = obj.Subvolume.Shape.copy()
pl = FreeCAD.Placement(sh.Placement)
pl = pl.multiply(obj.Placement)
pl = obj.Placement.multiply(pl)
if plac:
pl = pl.multiply(plac)
pl = plac.multiply(pl)
sh.Placement = pl
return sh