rename and negate DISABLE_PYTHON --> WITH_PYTHON
[blender.git] / source / gameengine / GameLogic / SCA_ILogicBrick.h
index 3225c24555081a3518bbeff78f2b07f3436d0072..a444210e8d91ebfa607da276172ef3c27576058e 100644 (file)
@@ -133,7 +133,7 @@ public:
        virtual void            Replace_IScene(SCA_IScene *val) {};
        virtual void            Replace_NetworkScene(NG_NetworkScene *val) {};
 
-#ifndef DISABLE_PYTHON
+#ifdef WITH_PYTHON
        // python methods
        
        static PyObject*        pyattr_get_owner(void *self_v, const KX_PYATTRIBUTE_DEF *attrdef);
@@ -157,7 +157,7 @@ protected:
        /** Convert a a c++ value to KX_TRUE, KX_FALSE in Python. */
        PyObject* BoolToPyArg(bool);
        
-#endif // DISABLE_PYTHON
+#endif // WITH_PYTHON
 
 };