testbreak was not working after the first use

This commit is contained in:
Campbell Barton 2008-05-21 11:06:49 +00:00
parent fc56e8d432
commit adbbc314ba

@ -1240,6 +1240,7 @@ static PyObject *M_Window_QHandle( PyObject * self, PyObject * args )
static PyObject *M_Window_TestBreak( PyObject * self )
{
if (blender_test_break()) {
G.afbreek= 0;
Py_RETURN_TRUE;
} else {
Py_RETURN_FALSE;