[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [19864] trunk/blender/source/gameengine/ Ketsji/KX_MeshProxy.cpp: BGE
Nathan Letwory
jesterking at letwory.net
Wed Apr 22 08:30:32 CEST 2009
Revision: 19864
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=19864
Author: jesterking
Date: 2009-04-22 08:30:32 +0200 (Wed, 22 Apr 2009)
Log Message:
-----------
BGE
* the ternary form refused to compile properly with msvc, rewrite a bit.
Modified Paths:
--------------
trunk/blender/source/gameengine/Ketsji/KX_MeshProxy.cpp
Modified: trunk/blender/source/gameengine/Ketsji/KX_MeshProxy.cpp
===================================================================
--- trunk/blender/source/gameengine/Ketsji/KX_MeshProxy.cpp 2009-04-22 02:41:38 UTC (rev 19863)
+++ trunk/blender/source/gameengine/Ketsji/KX_MeshProxy.cpp 2009-04-22 06:30:32 UTC (rev 19864)
@@ -267,7 +267,10 @@
"Reinstance the physics mesh.")
{
//this needs to be reviewed, it is dependend on Sumo/Solid. Who is using this ?
- (KX_ReInstanceShapeFromMesh(m_meshobj)) ? Py_RETURN_TRUE : Py_RETURN_FALSE;
+ if(KX_ReInstanceShapeFromMesh(m_meshobj))
+ Py_RETURN_TRUE;
+
+ Py_RETURN_FALSE;
}
PyObject* KX_MeshProxy::pyattr_get_materials(void *self_v, const KX_PYATTRIBUTE_DEF *attrdef)
More information about the Bf-blender-cvs
mailing list