rename and negate DISABLE_PYTHON --> WITH_PYTHON
[blender.git] / source / gameengine / Ketsji / KX_SCA_AddObjectActuator.h
index c2068d157ee4dc8260d15f5d25db85a0ef762880..16612f9a74326c6ba1d54de50cc093daf0174f3a 100644 (file)
@@ -122,7 +122,7 @@ public:
 
        void    InstantAddObject();
 
-#ifndef DISABLE_PYTHON
+#ifdef WITH_PYTHON
 
        KX_PYMETHOD_DOC_NOARGS(KX_SCA_AddObjectActuator,InstantAddObject);
 
@@ -130,7 +130,7 @@ public:
        static int pyattr_set_object(void *self, const struct KX_PYATTRIBUTE_DEF *attrdef, PyObject *value);
        static PyObject* pyattr_get_objectLastCreated(void *self, const struct KX_PYATTRIBUTE_DEF *attrdef);
        
-#endif // DISABLE_PYTHON
+#endif // WITH_PYTHON
 
 }; /* end of class KX_SCA_AddObjectActuator : public KX_EditObjectActuator */