X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=blender%2Fio_mspgl%2Fexport_material.py;h=c3aa654e41ed16ffb6a84e20b93e490f84fdac8e;hp=0860c28bbc2061a0cf1ed0c31b8689175504d7d9;hb=d5a302ff5a27018c2cda8ecc60840d5f72ee4e33;hpb=7b6efe858ba6e649b148c1eb7b2680eed30ee75b diff --git a/blender/io_mspgl/export_material.py b/blender/io_mspgl/export_material.py index 0860c28b..c3aa654e 100644 --- a/blender/io_mspgl/export_material.py +++ b/blender/io_mspgl/export_material.py @@ -40,8 +40,8 @@ class MaterialExporter: textures["normal_map"] = s.texture if material.technique: - if not obj.inherit_tech: - return [] + if not material.inherit_tech: + return tech_res if self.single_file: raise Exception("Can't export inherited technique to a single file")