option to build the BGE without python, uses existing python check (cmake and scons)
when python is disabled videotextures are not built.
This commit is contained in:
@@ -41,6 +41,8 @@
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#ifndef DISABLE_PYTHON
|
||||
|
||||
// nasty glob variable to connect scripting language
|
||||
// if there is a better way (without global), please do so!
|
||||
static PHY_IPhysicsEnvironment* g_CurrentActivePhysicsEnvironment = NULL;
|
||||
@@ -661,3 +663,5 @@ PHY_IPhysicsEnvironment* PHY_GetActiveEnvironment()
|
||||
return g_CurrentActivePhysicsEnvironment;
|
||||
}
|
||||
|
||||
#endif // DISABLE_PYTHON
|
||||
|
||||
|
||||
Reference in New Issue
Block a user