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:
@@ -205,9 +205,9 @@ CValue* CBoolValue::GetReplica()
|
||||
return replica;
|
||||
}
|
||||
|
||||
|
||||
|
||||
#ifndef DISABLE_PYTHON
|
||||
PyObject* CBoolValue::ConvertValueToPython()
|
||||
{
|
||||
return PyBool_FromLong(m_bool != 0);
|
||||
}
|
||||
#endif // DISABLE_PYTHON
|
||||
|
||||
Reference in New Issue
Block a user