From 89049782dea9ce6ffc0a9de2cb95db4a448db05d Mon Sep 17 00:00:00 2001 From: Ken Hughes Date: Fri, 22 May 2009 17:01:32 +0000 Subject: [PATCH] Python API ---------- Fix incorrect exception message. --- source/blender/python/api2_2x/Text3d.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/blender/python/api2_2x/Text3d.c b/source/blender/python/api2_2x/Text3d.c index 202195cdcb4..6312f7fffc7 100644 --- a/source/blender/python/api2_2x/Text3d.c +++ b/source/blender/python/api2_2x/Text3d.c @@ -1116,7 +1116,7 @@ static PyObject *Text3d_setFont( BPy_Text3d * self, PyObject * args ) VFont *vf; //, *vfont; if( !PyArg_ParseTuple( args, "|O!",&Font_Type, &pyobj) ) return EXPP_ReturnPyObjError( PyExc_TypeError, - "expected a string" ); + "expected a font object" ); if( !pyobj ) { // pyobj= M_Text3d_LoadFont (self, Py_BuildValue("(s)", "")); self->curve->vfont= get_builtin_font ();