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:
authorCampbell Barton <ideasman42@gmail.com>2009-02-26 12:04:06 +0300
committerCampbell Barton <ideasman42@gmail.com>2009-02-26 12:04:06 +0300
commitc785532becca59aa2d1b3ae67784b7ac2b733ec2 (patch)
tree307355d1dec68595375840ec9546f1e9c8c7a535 /source/gameengine/Ketsji/KX_SCA_EndObjectActuator.cpp
parent936a6eeda87bfd36ada735e5edac06f161a5de25 (diff)
Py BGE API
Python dir(ob) for game types now includes attributes names, * Use "__dict__" rather then "__methods__" attribute to be Python 3.0 compatible * Added _getattr_dict() for getting the method and attribute names from a PyObject, rather then building it in the macro. * Added place holder *::Attribute array, needed for the _getattr_up macro.
Diffstat (limited to 'source/gameengine/Ketsji/KX_SCA_EndObjectActuator.cpp')
-rw-r--r--source/gameengine/Ketsji/KX_SCA_EndObjectActuator.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/gameengine/Ketsji/KX_SCA_EndObjectActuator.cpp b/source/gameengine/Ketsji/KX_SCA_EndObjectActuator.cpp
index 443921d22b0..9268a1df5f0 100644
--- a/source/gameengine/Ketsji/KX_SCA_EndObjectActuator.cpp
+++ b/source/gameengine/Ketsji/KX_SCA_EndObjectActuator.cpp
@@ -127,6 +127,9 @@ PyMethodDef KX_SCA_EndObjectActuator::Methods[] = {
{NULL,NULL} //Sentinel
};
+PyAttributeDef KX_SCA_EndObjectActuator::Attributes[] = {
+ { NULL } //Sentinel
+};
PyObject* KX_SCA_EndObjectActuator::_getattr(const char *attr)
{