diff options
author | Ken Hughes <khughes@pacific.edu> | 2009-05-22 21:01:32 +0400 |
---|---|---|
committer | Ken Hughes <khughes@pacific.edu> | 2009-05-22 21:01:32 +0400 |
commit | 89049782dea9ce6ffc0a9de2cb95db4a448db05d (patch) | |
tree | 5444a667f6bf349e97a3fbc8c716f9abff6b4f32 | |
parent | 794826feaee501d984ce2e6b7459a7f5757b8722 (diff) |
Python API
----------
Fix incorrect exception message.
-rw-r--r-- | source/blender/python/api2_2x/Text3d.c | 2 |
1 files changed, 1 insertions, 1 deletions
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)", "<builtin>")); self->curve->vfont= get_builtin_font (); |