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
path: root/source
diff options
context:
space:
mode:
authorNathan Letwory <nathan@letworyinteractive.com>2009-04-22 10:30:32 +0400
committerNathan Letwory <nathan@letworyinteractive.com>2009-04-22 10:30:32 +0400
commit88c58d6b2d5a3ad74e4a06b71fe8071593cd7bfb (patch)
tree27e359b5ce02e18e5f8a897c794dd73eb595adf5 /source
parent0145a93f2403063c22a14260e200174efb822fec (diff)
BGE
* the ternary form refused to compile properly with msvc, rewrite a bit.
Diffstat (limited to 'source')
-rw-r--r--source/gameengine/Ketsji/KX_MeshProxy.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/source/gameengine/Ketsji/KX_MeshProxy.cpp b/source/gameengine/Ketsji/KX_MeshProxy.cpp
index 452cb9ad19b..65b163106c9 100644
--- a/source/gameengine/Ketsji/KX_MeshProxy.cpp
+++ b/source/gameengine/Ketsji/KX_MeshProxy.cpp
@@ -266,8 +266,12 @@ PyObject* KX_MeshProxy::PyGetPolygon(PyObject* args, PyObject* kwds)
KX_PYMETHODDEF_DOC(KX_MeshProxy, reinstancePhysicsMesh,
"Reinstance the physics mesh.")
{
+#if 0
//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;
+#endif
+ Py_RETURN_FALSE;
}
PyObject* KX_MeshProxy::pyattr_get_materials(void *self_v, const KX_PYATTRIBUTE_DEF *attrdef)