diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-06-17 13:42:04 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-06-17 13:42:04 +0400 |
commit | 50b22468b28b57de35ad35868265e6cfa442bdbc (patch) | |
tree | 4c6f3f6386f9ceabc11def67e29d2c54f1fd1220 /source/gameengine/Converter/BL_ActionActuator.h | |
parent | fa3cd4aadfca4141735a59aa801dc9425e1b9ba7 (diff) |
BGE PyAPI
while making a demo of using python to control bones found some more problems.
also added channelNames attribute to BL_ActionActuator to get a list of valid channels to use.
demo: http://www.graphicall.org/ftp/ideasman42/armature_python.blend
its still not that useful since theres not way to know rest bone locations yet but better then nothing.
Diffstat (limited to 'source/gameengine/Converter/BL_ActionActuator.h')
-rw-r--r-- | source/gameengine/Converter/BL_ActionActuator.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/gameengine/Converter/BL_ActionActuator.h b/source/gameengine/Converter/BL_ActionActuator.h index 422b16bb3ec..088e7e3f4a8 100644 --- a/source/gameengine/Converter/BL_ActionActuator.h +++ b/source/gameengine/Converter/BL_ActionActuator.h @@ -119,7 +119,7 @@ public: static PyObject* pyattr_get_action(void *self_v, const KX_PYATTRIBUTE_DEF *attrdef); static int pyattr_set_action(void *self_v, const KX_PYATTRIBUTE_DEF *attrdef, PyObject *value); - + static PyObject* pyattr_get_channel_names(void *self_v, const KX_PYATTRIBUTE_DEF *attrdef); /* attribute check */ static int CheckFrame(void *self, const PyAttributeDef*) { |