Export group names
This commit is contained in:
parent
c8da36902e
commit
0b049eb5af
|
@ -779,6 +779,11 @@ class ArmoryExporter:
|
|||
if bobject.dupli_type == 'GROUP' and bobject.dupli_group != None:
|
||||
o['group_ref'] = bobject.dupli_group.name
|
||||
|
||||
if bobject.users_group != None and len(bobject.users_group) > 0:
|
||||
o['groups'] = []
|
||||
for g in bobject.users_group:
|
||||
o['groups'].append(g.name)
|
||||
|
||||
if bobject.arm_tilesheet != '':
|
||||
o['tilesheet_ref'] = bobject.arm_tilesheet
|
||||
o['tilesheet_action_ref'] = bobject.arm_tilesheet_action
|
||||
|
|
|
@ -7,7 +7,7 @@ import arm.utils
|
|||
class CallGroupNode(Node, ArmLogicTreeNode):
|
||||
'''Call group node'''
|
||||
bl_idname = 'LNCallGroupNode'
|
||||
bl_label = 'Call Group'
|
||||
bl_label = 'Call Node Group'
|
||||
bl_icon = 'GAME'
|
||||
|
||||
@property
|
||||
|
|
|
@ -6,7 +6,7 @@ from arm.logicnode.arm_nodes import *
|
|||
class GroupOutputNode(Node, ArmLogicTreeNode):
|
||||
'''Group output node'''
|
||||
bl_idname = 'LNGroupOutputNode'
|
||||
bl_label = 'Group Output'
|
||||
bl_label = 'Node Group Output'
|
||||
bl_icon = 'GAME'
|
||||
|
||||
def init(self, context):
|
||||
|
|
Loading…
Reference in a new issue