MCPcopy Create free account
hub / github.com/coldtype/st2 / get_children

Function get_children

ST2/util.py:37–42  ·  view source on GitHub ↗
(ko)

Source from the content-addressed store, hash-verified

35
36
37def get_children(ko):
38 children = []
39 for o in bpy.data.objects:
40 if o.parent == ko:
41 children.append(o)
42 return sorted(children, key=lambda c: c.name)
43
44
45def delete_parent_recursively(ko):

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected