Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2008-05-21 15:06:49 +0400
committerCampbell Barton <ideasman42@gmail.com>2008-05-21 15:06:49 +0400
commitadbbc314bae04910b453781d237d2c38036400e7 (patch)
treefa746d5c2a6bc528c772b8ebdf99c85f9ba5d4d8 /source/blender/python
parentfc56e8d432e86b80bc42c66e302762dcc35cdcd2 (diff)
testbreak was not working after the first use
Diffstat (limited to 'source/blender/python')
-rw-r--r--source/blender/python/api2_2x/Window.c1
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;