api changes suggested by Stani
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user