Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKen Hughes <khughes@pacific.edu>2009-05-22 21:01:32 +0400
committerKen Hughes <khughes@pacific.edu>2009-05-22 21:01:32 +0400
commit89049782dea9ce6ffc0a9de2cb95db4a448db05d (patch)
tree5444a667f6bf349e97a3fbc8c716f9abff6b4f32
parent794826feaee501d984ce2e6b7459a7f5757b8722 (diff)
Python API
---------- Fix incorrect exception message.
-rw-r--r--source/blender/python/api2_2x/Text3d.c2
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 ();