diff options
author | Ken Hughes <khughes@pacific.edu> | 2006-04-22 00:27:52 +0400 |
---|---|---|
committer | Ken Hughes <khughes@pacific.edu> | 2006-04-22 00:27:52 +0400 |
commit | 4aa28f13f4f2293d0e221239c8a848cc6ae8fbb1 (patch) | |
tree | 8b0e0db00058e6a4116be6df5283b45e37a18279 /source/blender/python/api2_2x/Ipo.h | |
parent | 63868046f4cd50b775074ace5c94084d3f01f8eb (diff) |
===Python API===
New Ipo and IpoCurve API. Ipo and IpoCurve objects support the [] operator,
for accessing the curves of a particular Ipo and for accessing the value
of an IpoCurve at a specific time. Both modules were also "tp_getset"-ified.
Also, code for an alternative method (Antont wanted this) of accessing curves
via Ipo attributes is included for now, for people to try and see if it's
actually preferable to the Ipo [] operator.
These are all new additions; nothing was intentionally removed from the API.
If you find the something in the existing API has changed, let me know.
Diffstat (limited to 'source/blender/python/api2_2x/Ipo.h')
-rw-r--r-- | source/blender/python/api2_2x/Ipo.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/python/api2_2x/Ipo.h b/source/blender/python/api2_2x/Ipo.h index db312dc971a..95aa5a729a2 100644 --- a/source/blender/python/api2_2x/Ipo.h +++ b/source/blender/python/api2_2x/Ipo.h @@ -42,6 +42,8 @@ typedef struct { PyObject_HEAD /* required macro */ Ipo * ipo; + short iter; + short mtex; } BPy_Ipo; extern PyTypeObject Ipo_Type; |