rename and negate DISABLE_PYTHON --> WITH_PYTHON
[blender.git] / source / gameengine / Ketsji / KX_NearSensor.cpp
index 36c1b0f5bd1b2170731b4a7cd49fc7d3565a0358..c9af5d8d2a571c2455065faf0a0481046a8dac02 100644 (file)
@@ -242,7 +242,7 @@ bool        KX_NearSensor::NewHandleCollision(void* obj1,void* obj2,const PHY_CollData
        return false; // was DT_CONTINUE; but this was defined in Sumo as false
 }
 
-#ifndef DISABLE_PYTHON
+#ifdef WITH_PYTHON
 
 /* ------------------------------------------------------------------------- */
 /* Python Functions                                                                                                                     */
@@ -285,4 +285,4 @@ PyAttributeDef KX_NearSensor::Attributes[] = {
        {NULL} //Sentinel
 };
 
-#endif // DISABLE_PYTHON
+#endif // WITH_PYTHON