diff options
author | Stephen Swaney <sswaney@centurytel.net> | 2005-08-21 19:00:17 +0400 |
---|---|---|
committer | Stephen Swaney <sswaney@centurytel.net> | 2005-08-21 19:00:17 +0400 |
commit | bb5ae49992ba1b68d8c041699b12689e56442295 (patch) | |
tree | f7121a8a42bdcb62a2d00ee6792cbb2dc307e115 /source/blender/python/api2_2x/Font.c | |
parent | 4065cdb550a6200e49ef6e243563e6bac035544d (diff) |
A large collection of fixes from Ken Hughes including:
- corrections to constants
- parameter type checking
- correct use of METH_VARARGS vs METH_NOARGS
- return objects instead of strings in Scene.getChildren() as per doc.
- correct logical operators
Thanks, Ken!
Diffstat (limited to 'source/blender/python/api2_2x/Font.c')
-rw-r--r-- | source/blender/python/api2_2x/Font.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/api2_2x/Font.c b/source/blender/python/api2_2x/Font.c index 316e7141d15..26fa731e79c 100644 --- a/source/blender/python/api2_2x/Font.c +++ b/source/blender/python/api2_2x/Font.c @@ -268,7 +268,7 @@ static PyObject *Font_pack( BPy_Font * self, PyObject * args ) if( !PyArg_ParseTuple( args, "i", &pack ) ) return ( EXPP_ReturnPyObjError ( PyExc_AttributeError, - "expected string argument" ) ); + "expected int argument" ) ); if( pack && !self->font->packedfile ) self->font->packedfile = newPackedFile(self->font->name); else if (self->font->packedfile) |