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:
authorKen Hughes <khughes@pacific.edu>2006-04-22 00:27:52 +0400
committerKen Hughes <khughes@pacific.edu>2006-04-22 00:27:52 +0400
commit4aa28f13f4f2293d0e221239c8a848cc6ae8fbb1 (patch)
tree8b0e0db00058e6a4116be6df5283b45e37a18279 /source/blender/python/api2_2x/Ipocurve.h
parent63868046f4cd50b775074ace5c94084d3f01f8eb (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/Ipocurve.h')
-rw-r--r--source/blender/python/api2_2x/Ipocurve.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/python/api2_2x/Ipocurve.h b/source/blender/python/api2_2x/Ipocurve.h
index 4e33f962854..778f468aa7f 100644
--- a/source/blender/python/api2_2x/Ipocurve.h
+++ b/source/blender/python/api2_2x/Ipocurve.h
@@ -42,6 +42,7 @@
typedef struct {
PyObject_HEAD /* required macro */
IpoCurve * ipocurve;
+ char wrapped;
} C_IpoCurve;
extern PyTypeObject IpoCurve_Type;