rename and negate DISABLE_PYTHON --> WITH_PYTHON
[blender.git] / source / gameengine / Expressions / ListValue.h
index 2dc458e0148314e591db8fcffb6533b1d04924c7..ff675dd0e68b81094f8d0d932640dbf0acdcfcb8 100644 (file)
@@ -60,6 +60,7 @@ public:
 
        bool CheckEqual(CValue* first,CValue* second);
 
+#ifdef WITH_PYTHON
        virtual PyObject* py_repr(void) {
                PyObject *py_proxy= this->GetProxy();
                PyObject *py_list= PySequence_List(py_proxy);
@@ -75,7 +76,7 @@ public:
        KX_PYMETHOD_O(CListValue,count);
        KX_PYMETHOD_VARARGS(CListValue,get);
        KX_PYMETHOD_O(CListValue,from_id);
-
+#endif
        
 private: