rename and negate DISABLE_PYTHON --> WITH_PYTHON
[blender.git] / source / gameengine / Converter / BL_ArmatureChannel.h
index 79f0cc80348c355a63599c4932e3b17713482927..e1c18215c53ad2b287616c245a2afd5726ddf5f9 100644 (file)
@@ -57,7 +57,7 @@ public:
                                                struct bPoseChannel *posechannel);
        virtual ~BL_ArmatureChannel();
 
-#ifndef DISABLE_PYTHON
+#ifdef WITH_PYTHON
        // Python access
        virtual PyObject* py_repr(void);
 
@@ -65,7 +65,7 @@ public:
        static int py_attr_setattr(void *self, const struct KX_PYATTRIBUTE_DEF *attrdef, PyObject *value);
        static PyObject* py_attr_get_joint_rotation(void *self, const struct KX_PYATTRIBUTE_DEF *attrdef);
        static int py_attr_set_joint_rotation(void *self, const struct KX_PYATTRIBUTE_DEF *attrdef, PyObject *value);
-#endif // DISABLE_PYTHON
+#endif // WITH_PYTHON
 };
 
 /* this is a factory class to access bBone data field in the GE.
@@ -82,7 +82,7 @@ private:
 
 public:
 
-#ifndef DISABLE_PYTHON
+#ifdef WITH_PYTHON
        static PyObject *py_bone_repr(PyObject *self);
        static PyObject *py_bone_get_parent(void *self, const struct KX_PYATTRIBUTE_DEF *attrdef);
        static PyObject *py_bone_get_children(void *self, const struct KX_PYATTRIBUTE_DEF *attrdef);