X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=blender%2Fio_mspgl%2Fexport_texture.py;h=54b2105492f898e30f8502f936e518b30b983c84;hp=7661b90b2fa5e1d91c5ba0410689904d29681bdb;hb=160293feec7b0b976856685153cd24c7f1ce9492;hpb=358c29e44cff64b8dd7d9d8b643e6e8bdf4b31fa diff --git a/blender/io_mspgl/export_texture.py b/blender/io_mspgl/export_texture.py index 7661b90b..54b21054 100644 --- a/blender/io_mspgl/export_texture.py +++ b/blender/io_mspgl/export_texture.py @@ -36,7 +36,7 @@ class TextureExporter: colorspace = image.colorspace_settings.name if usage=='GRAY' and colorspace=='sRGB': - raise Exception("Grayscale textures with sRGB colorspace are not supported") + raise Exception("Unsupported configuration on texture {}: Grayscale with sRGB".format(image.name)) from .util import basename fn = basename(image.filepath)