rename and negate DISABLE_PYTHON --> WITH_PYTHON
[blender.git] / source / gameengine / GameLogic / SCA_ActuatorSensor.cpp
index c77e58d2f3bb5ba701c029612119a420ebe50005..d6c328cd73087830f9d5dfe59b0291787dd46ac8 100644 (file)
@@ -110,7 +110,7 @@ void SCA_ActuatorSensor::Update()
        }
 }
 
-#ifndef DISABLE_PYTHON
+#ifdef WITH_PYTHON
 
 /* ------------------------------------------------------------------------- */
 /* Python functions                                                          */
@@ -160,6 +160,6 @@ int SCA_ActuatorSensor::CheckActuator(void *self, const PyAttributeDef*)
        return 1;
 }
 
-#endif // DISABLE_PYTHON
+#endif // WITH_PYTHON
 
 /* eof */