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.

This commit is contained in:
2007-06-01 05:54:16 +00:00
parent 3d6f9b804f
commit f0fe6833db

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