rename and negate DISABLE_PYTHON --> WITH_PYTHON
[blender.git] / source / gameengine / Ketsji / KX_MeshProxy.cpp
index a5ff7ebcbc1e23300fcf1c0579911467dc865d52..3cedda38201094c0220fffbc91d0509862cc02fa 100644 (file)
@@ -26,7 +26,7 @@
  * ***** END GPL LICENSE BLOCK *****
  */
 
-#ifndef DISABLE_PYTHON
+#ifdef WITH_PYTHON
 
 #include "KX_MeshProxy.h"
 #include "RAS_IPolygonMaterial.h"
@@ -308,4 +308,4 @@ bool ConvertPythonToMesh(PyObject * value, RAS_MeshObject **object, bool py_none
        return false;
 }
 
-#endif // DISABLE_PYTHON
+#endif // WITH_PYTHON