Arch: Fixed remaining hole bug when removing windows from walls

This commit is contained in:
Yorik van Havre
2018-01-25 19:21:57 -02:00
parent 544d481666
commit 6c2951fa12

View File

@@ -1022,6 +1022,11 @@ class _ViewProviderWindow(ArchComponent.ViewProviderComponent):
self.colorize(obj)
ArchComponent.ViewProviderComponent.updateData(self,obj,prop)
def onDelete(self,vobj,subelements):
for o in vobj.Object.Hosts:
o.touch()
return True
def onChanged(self,vobj,prop):
if (prop == "DiffuseColor") and vobj.Object:
if vobj.Object.Base: