From 8c8cee9820c5d40f3f868e3eb459e2ed810bb8cf Mon Sep 17 00:00:00 2001 From: Yorik van Havre Date: Wed, 14 Mar 2018 13:44:10 -0300 Subject: [PATCH] Arch: Fixed not working addition/subtraction in components --- src/Mod/Arch/ArchComponent.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Mod/Arch/ArchComponent.py b/src/Mod/Arch/ArchComponent.py index 2c26760ac1..a97c85d5f5 100644 --- a/src/Mod/Arch/ArchComponent.py +++ b/src/Mod/Arch/ArchComponent.py @@ -338,7 +338,10 @@ class Component: if self.clone(obj): return if obj.Base: - obj.Shape = self.spread(obj,obj.Base.Shape) + shape = self.spread(obj,obj.Base.Shape) + if obj.Additions or obj.Subtractions: + shape = self.processSubShapes(obj,shape) + obj.Shape = shape def __getstate__(self): return self.Type