X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=blender%2Fio_mspgl%2Fexport_armature.py;h=42c57b27016412a9af0549e516f8947bc0ccbf2c;hb=23779cd03a8b1f6fdc3b2e4d8880170d3fa6146f;hp=27bf6e0b05df9341369258b0daefa4aa8d1dad0e;hpb=db9fa2e2aba82aadc8da3fb8f4f4839419a06d90;p=libs%2Fgl.git diff --git a/blender/io_mspgl/export_armature.py b/blender/io_mspgl/export_armature.py index 27bf6e0b..42c57b27 100644 --- a/blender/io_mspgl/export_armature.py +++ b/blender/io_mspgl/export_armature.py @@ -1,7 +1,7 @@ class ArmatureExporter: def export_armature(self, obj): if obj.type!="ARMATURE": - raise ValueError("Object is not an armature") + raise ValueError("Object {} is not an armature".format(obj)) from .armature import Armature armature = Armature(obj.data)