Arch: search for movable children in groups too

This commit is contained in:
Yorik van Havre 2015-07-27 16:18:48 -03:00
parent 89b609ea8d
commit e80fc80be3

View File

@ -581,7 +581,7 @@ def loadTexture(filename,size=None):
return img return img
return None return None
def getMovableChildren(objectslist,recursive=False): def getMovableChildren(objectslist,recursive=True):
'''getMovableChildren(objectslist,[recursive]): extends the given list of objects '''getMovableChildren(objectslist,[recursive]): extends the given list of objects
with all child objects that have a "MoveWithHost" property set to True. If with all child objects that have a "MoveWithHost" property set to True. If
recursive is True, all descendents are considered, otherwise only direct children.''' recursive is True, all descendents are considered, otherwise only direct children.'''