X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=blender%2Fio_mspgl%2Fexport_material.py;h=ffdae1cc7f782cd65ffc2781178e389f3a11fec7;hp=a109ed24351f2782093cf70ab792654f69ba53eb;hb=1ebae998eb54c3f33900dc76de3b34c2d5252e58;hpb=52dd0394da580cc18ad1463e1646d06ac12dac8a diff --git a/blender/io_mspgl/export_material.py b/blender/io_mspgl/export_material.py index a109ed24..ffdae1cc 100644 --- a/blender/io_mspgl/export_material.py +++ b/blender/io_mspgl/export_material.py @@ -79,7 +79,7 @@ class MaterialExporter: tex_name = p.texture.image.name+".tex2d" if tex_name not in resources: - resources[tex_name] = texture_export.export_texture(p.texture, p.tex_usage, invert_green=p.invert_green) + resources[tex_name] = texture_export.export_texture(p.texture, p.tex_channels) samp_name = sampler_export.get_sampler_name(p.texture) if samp_name not in resources: