diff options
-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 ); } /*****************************************************************************/ |