]> git.tdb.fi Git - libs/gl.git/blobdiff - blender/io_mspgl/export_texture.py
Improve error reporting in the Blender exporter
[libs/gl.git] / blender / io_mspgl / export_texture.py
index 7661b90b2fa5e1d91c5ba0410689904d29681bdb..54b2105492f898e30f8502f936e518b30b983c84 100644 (file)
@@ -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)