enable building the game engine without bullet for scons & cmake
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user