forked from bartvdbraak/blender
41c0236aaa
Contributors list isnt used much in our C code so probably its easier if people just use svn blame for this. Can change if this isnt acceptable but I guessed people didnt care so much since most scripts had no header.
10 lines
414 B
Python
10 lines
414 B
Python
# This software is distributable under the terms of the GNU
|
|
# General Public License (GPL) v2, the text of which can be found at
|
|
# http://www.gnu.org/copyleft/gpl.html. Installing, importing or otherwise
|
|
# using this module constitutes acceptance of the terms of this License.
|
|
|
|
import bpy
|
|
class_obj = bpy.types.Object
|
|
|
|
class_obj.getChildren = lambda ob: [child for child in bpy.data.objects if child.parent == ob]
|