Proper empty group fix in iron

This commit is contained in:
Lubos Lenco 2017-11-23 22:12:39 +01:00
parent 800f204c31
commit 6d6902a847

View file

@ -777,8 +777,7 @@ class ArmoryExporter:
o['mobile'] = False
if bobject.dupli_type == 'GROUP' and bobject.dupli_group != None:
if len(bobject.dupli_group.objects) > 0:
o['group_ref'] = bobject.dupli_group.name
o['group_ref'] = bobject.dupli_group.name
if bobject.arm_tilesheet != '':
o['tilesheet_ref'] = bobject.arm_tilesheet