[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [20346] trunk/blender/source/blender/ python/api2_2x/Text3d.c: Python API

Ken Hughes khughes at pacific.edu
Fri May 22 19:01:32 CEST 2009


Revision: 20346
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=20346
Author:   khughes
Date:     2009-05-22 19:01:32 +0200 (Fri, 22 May 2009)

Log Message:
-----------
Python API
----------
Fix incorrect exception message.

Modified Paths:
--------------
    trunk/blender/source/blender/python/api2_2x/Text3d.c

Modified: trunk/blender/source/blender/python/api2_2x/Text3d.c
===================================================================
--- trunk/blender/source/blender/python/api2_2x/Text3d.c	2009-05-22 15:56:33 UTC (rev 20345)
+++ trunk/blender/source/blender/python/api2_2x/Text3d.c	2009-05-22 17:01:32 UTC (rev 20346)
@@ -1116,7 +1116,7 @@
 	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 ();





More information about the Bf-blender-cvs mailing list