Export group names

This commit is contained in:
Lubos Lenco 2017-11-27 00:13:37 +01:00
parent c8da36902e
commit 0b049eb5af
3 changed files with 7 additions and 2 deletions

View file

@ -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

View file

@ -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

View file

@ -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):