Arch: Small bugfix in spaces

This commit is contained in:
Yorik van Havre
2019-02-04 22:35:16 -02:00
parent 2e692dff2d
commit 34c1f38cfa

View File

@@ -331,7 +331,8 @@ class _Space(ArchComponent.Component):
if obj.Zone:
if obj.Zone.ViewObject:
if hasattr(obj.Zone.ViewObject,"Proxy"):
obj.Zone.ViewObject.Proxy.claimChildren()
if hasattr(obj.Zone.ViewObject.Proxy,"claimChildren"):
obj.Zone.ViewObject.Proxy.claimChildren()
if hasattr(obj,"Area"):
obj.setEditorMode('Area',1)
ArchComponent.Component.onChanged(self,obj,prop)