rename and negate DISABLE_PYTHON --> WITH_PYTHON
[blender.git] / source / gameengine / Ketsji / KX_KetsjiEngine.h
index f52ec8192ccf4af341028ddfbfcb8138eba400e7..4ce14e100cc720a4ee0312863420b6ea691a9a25 100644 (file)
@@ -70,7 +70,7 @@ private:
        class RAS_IRenderTools*                         m_rendertools;
        class KX_ISceneConverter*                       m_sceneconverter;
        class NG_NetworkDeviceInterface*                m_networkdevice;
-#ifndef DISABLE_PYTHON
+#ifdef WITH_PYTHON
        /* borrowed from sys.modules["__main__"], dont manage ref's */
        PyObject*                                       m_pythondictionary;
 #endif
@@ -204,7 +204,7 @@ public:
        void                    SetCanvas(RAS_ICanvas* canvas);
        void                    SetRenderTools(RAS_IRenderTools* rendertools);
        void                    SetRasterizer(RAS_IRasterizer* rasterizer);
-#ifndef DISABLE_PYTHON
+#ifdef WITH_PYTHON
        void                    SetPyNamespace(PyObject* pythondictionary);
        PyObject*               GetPyNamespace(){return m_pythondictionary;};
 #endif