api changes suggested by Stani
[blender-staging.git] / release / scripts / modules / bpy_ext / Object.py
index 203e50bdef74434a1f2ea05f329f761e67a00da3..59c2ca3ebda1ff01f7e727b21331a9b2f5931798 100644 (file)
@@ -19,4 +19,4 @@
 import bpy
 class_obj = bpy.types.Object
 
-class_obj.getChildren = lambda ob: [child for child in bpy.data.objects if child.parent == ob]
+class_obj.getChildren = lambda self: [child for child in bpy.data.objects if child.parent == self]