Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenoit Bolsee <benoit.bolsee@online.be>2009-03-29 19:17:55 +0400
committerBenoit Bolsee <benoit.bolsee@online.be>2009-03-29 19:17:55 +0400
commitd57811ada14ad3f9833e77b2cff0d624c7e1ff89 (patch)
tree2133b381f5ac07ed7000b1c4bf644aafaad4124c /source/gameengine/Ketsji/KX_ParentActuator.h
parent02191a1d396c838a0c90e4f08e4e2883c357102d (diff)
BGE API cleanup: CDActuator, ParentActuator, VisibilityActuator done. Thanks to Andre.
Diffstat (limited to 'source/gameengine/Ketsji/KX_ParentActuator.h')
-rw-r--r--source/gameengine/Ketsji/KX_ParentActuator.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/source/gameengine/Ketsji/KX_ParentActuator.h b/source/gameengine/Ketsji/KX_ParentActuator.h
index c974001c0d0..c647e6cc8a9 100644
--- a/source/gameengine/Ketsji/KX_ParentActuator.h
+++ b/source/gameengine/Ketsji/KX_ParentActuator.h
@@ -79,10 +79,14 @@ class KX_ParentActuator : public SCA_IActuator
virtual PyObject* _getattr(const char *attr);
virtual int _setattr(const char *attr, PyObject* value);
- /* 1. setObject */
+ /* These are used to get and set m_ob */
+ static PyObject* pyattr_get_object(void *self, const struct KX_PYATTRIBUTE_DEF *attrdef);
+ static int pyattr_set_object(void *self, const struct KX_PYATTRIBUTE_DEF *attrdef, PyObject *value);
+
+ // Deprecated ----->
KX_PYMETHOD_DOC_O(KX_ParentActuator,SetObject);
- /* 2. getObject */
KX_PYMETHOD_DOC_VARARGS(KX_ParentActuator,GetObject);
+ // <-----
}; /* end of class KX_ParentActuator : public SCA_PropertyActuator */