when removing py_build value I removed this but shouldnt have, however theres no...
authorCampbell Barton <ideasman42@gmail.com>
Fri, 1 Jun 2007 05:54:16 +0000 (05:54 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Fri, 1 Jun 2007 05:54:16 +0000 (05:54 +0000)
source/blender/python/api2_2x/Blender.c

index 174c2be95a7dbf5f6bba25c41713ae8c05064418..9a5163022ffe9ef1cd51b08d9d88432ef4665b5c 100644 (file)
@@ -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 );
 }
 
 /*****************************************************************************/