rename and negate DISABLE_PYTHON --> WITH_PYTHON
[blender.git] / source / gameengine / Ketsji / KX_NearSensor.h
index 10dba22c4e9aef7dd1a9c250b321d47f529d2ce9..67f235ceae205934840a94e1e9304692eca8c8ba 100644 (file)
@@ -78,7 +78,7 @@ public:
        virtual bool    BroadPhaseSensorFilterCollision(void*obj1,void*obj2) { return false; };
        virtual sensortype GetSensorType() { return ST_NEAR; }
 
-#ifndef DISABLE_PYTHON
+#ifdef WITH_PYTHON
 
        /* --------------------------------------------------------------------- */
        /* Python interface ---------------------------------------------------- */
@@ -99,7 +99,7 @@ public:
                return 0;
        }
 
-#endif // DISABLE_PYTHON
+#endif // WITH_PYTHON
 
 };