[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [14911] trunk/blender/source/blender/ python/api2_2x/Window.c: testbreak was not working after the first use

Campbell Barton ideasman42 at gmail.com
Wed May 21 13:06:52 CEST 2008


Revision: 14911
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=14911
Author:   campbellbarton
Date:     2008-05-21 13:06:49 +0200 (Wed, 21 May 2008)

Log Message:
-----------
testbreak was not working after the first use

Modified Paths:
--------------
    trunk/blender/source/blender/python/api2_2x/Window.c

Modified: trunk/blender/source/blender/python/api2_2x/Window.c
===================================================================
--- trunk/blender/source/blender/python/api2_2x/Window.c	2008-05-21 10:44:25 UTC (rev 14910)
+++ trunk/blender/source/blender/python/api2_2x/Window.c	2008-05-21 11:06:49 UTC (rev 14911)
@@ -1240,6 +1240,7 @@
 static PyObject *M_Window_TestBreak( PyObject * self )
 {
 	if (blender_test_break()) {
+		G.afbreek= 0;
 		Py_RETURN_TRUE;
 	} else {
 		Py_RETURN_FALSE;





More information about the Bf-blender-cvs mailing list