diff options
author | Campbell Barton <ideasman42@gmail.com> | 2008-05-21 15:06:49 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2008-05-21 15:06:49 +0400 |
commit | adbbc314bae04910b453781d237d2c38036400e7 (patch) | |
tree | fa746d5c2a6bc528c772b8ebdf99c85f9ba5d4d8 /source/blender/python | |
parent | fc56e8d432e86b80bc42c66e302762dcc35cdcd2 (diff) |
testbreak was not working after the first use
Diffstat (limited to 'source/blender/python')
-rw-r--r-- | source/blender/python/api2_2x/Window.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/python/api2_2x/Window.c b/source/blender/python/api2_2x/Window.c index 061084da622..fe789fb4811 100644 --- a/source/blender/python/api2_2x/Window.c +++ b/source/blender/python/api2_2x/Window.c @@ -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; |