Arch: small bugfix in windows

This commit is contained in:
Yorik van Havre
2015-05-12 23:26:41 -03:00
parent cd2bed70e5
commit 12d0355fe0
2 changed files with 13 additions and 2 deletions

View File

@@ -597,7 +597,14 @@ def getMovableChildren(objectslist,recursive=False):
for child in children:
if hasattr(child,"MoveWithHost"):
if child.MoveWithHost:
added.append(child)
if hasattr(obj,"CloneOf"):
if obj.CloneOf:
if obj.CloneOf.Name != child.Name:
added.append(child)
else:
added.append(child)
else:
added.append(child)
if recursive:
added.extend(getMovableChildren(children))
return added