X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=blender%2Fio_mspgl%2Fexport_material.py;h=1323737f9b8f3c48c6ac5dfa0a4f188fb63b7adc;hb=d962add24cb7e55fa30b63763b4dbf7f37af0079;hp=10be7dcba60057665792b7291ab550122901e3e7;hpb=a4b9ae04a0a89bb2cf3ab4235d7376d3ff70af7b;p=libs%2Fgl.git diff --git a/blender/io_mspgl/export_material.py b/blender/io_mspgl/export_material.py index 10be7dcb..1323737f 100644 --- a/blender/io_mspgl/export_material.py +++ b/blender/io_mspgl/export_material.py @@ -50,7 +50,7 @@ class MaterialExporter: if p.texture: 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) + resources[tex_name] = texture_export.export_texture(p.texture, p.tex_usage, invert_green=p.invert_green) samp_name = sampler_export.get_sampler_name(p.texture) if samp_name not in resources: