enable building the game engine without bullet for scons & cmake

This commit is contained in:
Campbell Barton
2010-10-10 07:01:56 +00:00
parent d420d09da9
commit f49fc58df6
19 changed files with 68 additions and 34 deletions

View File

@@ -1574,11 +1574,11 @@ PyObject* KX_GameObject::PyReinstancePhysicsMesh(PyObject* args)
) {
return NULL;
}
#ifdef USE_BULLET
/* gameobj and mesh can be NULL */
if(KX_ReInstanceBulletShapeFromMesh(this, gameobj, mesh))
Py_RETURN_TRUE;
#endif
Py_RETURN_FALSE;
}