diff options
author | Campbell Barton <ideasman42@gmail.com> | 2007-06-01 09:54:16 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2007-06-01 09:54:16 +0400 |
commit | f0fe6833dbdf3742d0036a2ca545e91ba7cc5727 (patch) | |
tree | 065975d924b72082c9e3e7dbcb45d16263d640b5 /source | |
parent | 3d6f9b804fce3779a10ecdcdfeed46c75f9adef4 (diff) |
when removing py_build value I removed this but shouldnt have, however theres no need to parse the value in Blender_Redraw since its done in the Window module.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/python/api2_2x/Blender.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/source/blender/python/api2_2x/Blender.c b/source/blender/python/api2_2x/Blender.c index 174c2be95a7..9a5163022ff 100644 --- a/source/blender/python/api2_2x/Blender.c +++ b/source/blender/python/api2_2x/Blender.c @@ -521,14 +521,7 @@ static PyObject *Blender_Get( PyObject * self, PyObject * args ) /*****************************************************************************/ static PyObject *Blender_Redraw( PyObject * self, PyObject * args ) { - int wintype = SPACE_VIEW3D; - - if( !PyArg_ParseTuple( args, "|i", &wintype ) ) { - return EXPP_ReturnPyObjError( PyExc_TypeError, - "expected int argument (or nothing)" ); - } - - return M_Window_Redraw( self, PyInt_FromLong( (long)wintype ) ); + return M_Window_Redraw( self, args ); } /*****************************************************************************/ |