diff options
author | Ton Roosendaal <ton@blender.org> | 2007-11-04 20:14:39 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2007-11-04 20:14:39 +0300 |
commit | f996607632e08b7545f61b36ebc651c0ecff75ae (patch) | |
tree | 595f75b0b5edb4a341a62744eda68857b79e72ee /source/blender/makesdna/DNA_curve_types.h | |
parent | 034138b597f206aa6cc0c03872597e09b0d84b1f (diff) |
New driver option for the poor suffering riggers:
"Rotation Difference"
This option, for Bones, allows the angle between two Bones to be
the driver for another Ipo channel. This angle now is hardcoded
based on the Bone-space orientation (without parenting rotation).
Thanks to nathan for poking and test!
Diffstat (limited to 'source/blender/makesdna/DNA_curve_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_curve_types.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_curve_types.h b/source/blender/makesdna/DNA_curve_types.h index bd772bbeecb..807fc2add07 100644 --- a/source/blender/makesdna/DNA_curve_types.h +++ b/source/blender/makesdna/DNA_curve_types.h @@ -193,9 +193,12 @@ typedef struct Curve { typedef struct IpoDriver { struct Object *ob; short blocktype, adrcode, type, flag; - char name[128]; /* bone or constraint(?), or python expression here */ + char name[128]; /* bone or constraint(?), or python expression here */ } IpoDriver; +/* temp? we store more bone names in 1 driver... */ +#define DRIVER_NAME_OFFS 32 + typedef struct IpoCurve { struct IpoCurve *next, *prev; |