#NEWLINE# def jointGroupObject( self ) : #NEWLINE# #INDENT# if ( self . __joint_grp is None ) : #NEWLINE# #INDENT# for i in filter ( ( lambda x : ( x . mmd_type == 'JOINT_GRP_OBJ' ) ) , self . __root . children ) : #NEWLINE# #INDENT# self . __joint_grp = i #NEWLINE# break #NEWLINE# #UNINDENT# if ( self . __joint_grp is None ) : #NEWLINE# #INDENT# joints = bpy . data . objects . new ( name = 'joints' , object_data = None ) #NEWLINE# joints . mmd_type = 'JOINT_GRP_OBJ' #NEWLINE# joints . parent = self . __root #NEWLINE# bpy . context . scene . objects . link ( joints ) #NEWLINE# self . __joint_grp = joints #NEWLINE# #UNINDENT# #UNINDENT# return self . __joint_grp