From 7482c1132469c514cfc5685599eb4ce969ed61bd Mon Sep 17 00:00:00 2001 From: luboslenco Date: Tue, 21 Aug 2018 09:00:20 +0200 Subject: [PATCH] Linked material fix --- blender/arm/exporter.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/blender/arm/exporter.py b/blender/arm/exporter.py index 1c2da93d..c49a5b0f 100755 --- a/blender/arm/exporter.py +++ b/blender/arm/exporter.py @@ -2236,7 +2236,7 @@ class ArmoryExporter: for bo in scene_objects: if arm.utils.export_bone_data(bo): for slot in bo.material_slots: - if slot.material == None: + if slot.material == None or slot.material.library != None: continue if slot.material.name.endswith('_armskin'): continue @@ -2254,7 +2254,7 @@ class ArmoryExporter: if bo == None or psys.render_type != 'OBJECT': continue for slot in bo.material_slots: - if slot.material == None: + if slot.material == None or slot.material.library != None: continue if slot.material.name.endswith('_armpsys'): continue