rename and negate DISABLE_PYTHON --> WITH_PYTHON
[blender.git] / source / gameengine / GameLogic / SCA_IController.cpp
index c291ff091aa500a18e7aaf55ac599860c8a2c954..0c6b8350bca6841c4b1bc5789455bcb49e092f59 100644 (file)
@@ -194,7 +194,7 @@ void SCA_IController::ApplyState(unsigned int state)
        }
 }
 
-#ifndef DISABLE_PYTHON
+#ifdef WITH_PYTHON
 
 /* Python api */
 
@@ -247,4 +247,4 @@ PyObject* SCA_IController::pyattr_get_actuators(void *self_v, const KX_PYATTRIBU
 {
        return KX_PythonSeq_CreatePyObject((static_cast<SCA_IController*>(self_v))->m_proxy, KX_PYGENSEQ_CONT_TYPE_ACTUATORS);  
 }
-#endif // DISABLE_PYTHON
+#endif // WITH_PYTHON