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)


_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to