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:
authorJoshua Leung <aligorith@gmail.com>2007-04-25 15:57:02 +0400
committerJoshua Leung <aligorith@gmail.com>2007-04-25 15:57:02 +0400
commitfabcaacc51113d9352ffb1d8e9adac4f1009ed10 (patch)
tree882bbfa8b38ce628cebae6c2493073ddd31a5b23 /source/blender/makesdna/DNA_curve_types.h
parentd2fb4afb7cbf4014a2523df92bb540f3e077fd62 (diff)
== Action Editor ==
In the Action Editor, sliders are now drawn beside IPO-Curve and Constraint Channels and for the active Action Channel when the 'Show Sliders' option in the View menu is turned on. This behaves like for shapekeys. You can change the limits of the sliders by either Ctrl-Clicking or NKEY over the name of the relevant IPO-Curve channel. Also, documented the IPO-curve struct a bit. There are a few variables there that I'm not sure what they are used for.
Diffstat (limited to 'source/blender/makesdna/DNA_curve_types.h')
-rw-r--r--source/blender/makesdna/DNA_curve_types.h23
1 files changed, 12 insertions, 11 deletions
diff --git a/source/blender/makesdna/DNA_curve_types.h b/source/blender/makesdna/DNA_curve_types.h
index 9280dc2d4fa..5439c65aa81 100644
--- a/source/blender/makesdna/DNA_curve_types.h
+++ b/source/blender/makesdna/DNA_curve_types.h
@@ -196,21 +196,22 @@ typedef struct IpoDriver {
typedef struct IpoCurve {
struct IpoCurve *next, *prev;
- struct BPoint *bp;
- struct BezTriple *bezt;
+ struct BPoint *bp; /* are these even used anywhere? */
+ struct BezTriple *bezt; /* array of BezTriples (sizeof(BezTriple)*totvert. i.e. keyframes */
- rctf maxrct, totrct;
+ rctf maxrct, totrct; /* bounding boxes */
- short blocktype, adrcode, vartype;
- short totvert;
- short ipo, extrap;
- short flag, rt;
- float ymin, ymax;
- unsigned int bitmask;
+ short blocktype, adrcode, vartype; /* blocktype= ipo-blocktype; adrcode= type of ipo-curve; vartype= 'format' of data */
+ short totvert; /* total number of BezTriples (i.e. keyframes) on curve */
+ short ipo, extrap; /* interpolation and extrapolation modes */
+ short flag, rt; /* flag= settings; rt= ??? */
+ float ymin, ymax; /* minimum/maximum y-extents for curve */
+ unsigned int bitmask; /* ??? */
- float curval;
+ float slide_min, slide_max; /* minimum/maximum values for sliders (in action editor) */
+ float curval; /* value of ipo-curve for current frame */
- IpoDriver *driver;
+ IpoDriver *driver; /* pointer to ipo-driver for this curve */
} IpoCurve;