Welcome to mirror list, hosted at ThFree Co, Russian Federation.

Object.py « bpy_ext « modules « scripts « release - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a842318844e07e8e926bc4761d6c726887953c66 (plain)
1
2
3
4
import bpy
class_obj = bpy.types.Object

class_obj.getChildren = lambda ob: [child for child in bpy.data.objects if child.parent == ob]