[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [25343] trunk/blender/source/gameengine/ Expressions/PyObjectPlus.cpp: invalid value for BGE PyObjects was inverted
Campbell Barton
ideasman42 at gmail.com
Sun Dec 13 21:08:57 CET 2009
Revision: 25343
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=25343
Author: campbellbarton
Date: 2009-12-13 21:08:57 +0100 (Sun, 13 Dec 2009)
Log Message:
-----------
invalid value for BGE PyObjects was inverted
Modified Paths:
--------------
trunk/blender/source/gameengine/Expressions/PyObjectPlus.cpp
Modified: trunk/blender/source/gameengine/Expressions/PyObjectPlus.cpp
===================================================================
--- trunk/blender/source/gameengine/Expressions/PyObjectPlus.cpp 2009-12-13 19:45:23 UTC (rev 25342)
+++ trunk/blender/source/gameengine/Expressions/PyObjectPlus.cpp 2009-12-13 20:08:57 UTC (rev 25343)
@@ -256,7 +256,7 @@
PyObject* PyObjectPlus::pyattr_get_invalid(void *self_v, const KX_PYATTRIBUTE_DEF *attrdef)
{
- return PyBool_FromLong(self_v ? 1:0);
+ return PyBool_FromLong(self_v ? 0:1);
}
/* note, this is called as a python 'getset, where the PyAttributeDef is the closure */
More information about the Bf-blender-cvs
mailing list