X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=blender%2Fio_mspgl%2Fexport_light.py;h=432705589bcd8b972c2684dbc762e7c37e05f424;hb=160293feec7b0b976856685153cd24c7f1ce9492;hp=cfa4a19dadef5e2d859233dd1db477b054e46e61;hpb=7ae4af705535271ad84dbfe2b5a24bc9c546ae01;p=libs%2Fgl.git diff --git a/blender/io_mspgl/export_light.py b/blender/io_mspgl/export_light.py index cfa4a19d..43270558 100644 --- a/blender/io_mspgl/export_light.py +++ b/blender/io_mspgl/export_light.py @@ -3,7 +3,7 @@ import mathutils class LightExporter: def export_light(self, obj): if obj.type!='LIGHT': - raise ValueError("Object is not a light") + raise ValueError("Object {} is not a light".format(obj.name)) light = obj.data from .datafile import Resource, Statement