rename and negate DISABLE_PYTHON --> WITH_PYTHON
[blender.git] / source / gameengine / Ketsji / KX_BlenderMaterial.h
index 239e334f68a31846eb143aebb68b163b1a25796d..745045ff7849d9deed588a5d49a0adf0f6670cea 100644 (file)
@@ -98,7 +98,7 @@ public:
                }
        };
 
-#ifndef DISABLE_PYTHON
+#ifdef WITH_PYTHON
        // --------------------------------
        virtual PyObject* py_repr(void) { return PyUnicode_FromString(mMaterial->matname.ReadPtr()); }
 
@@ -113,7 +113,7 @@ public:
        KX_PYMETHOD_DOC( KX_BlenderMaterial, setTexture );
 
        KX_PYMETHOD_DOC( KX_BlenderMaterial, setBlending );
-#endif // DISABLE_PYTHON
+#endif // WITH_PYTHON
 
        // --------------------------------
        // pre calculate to avoid pops/lag at startup