diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-04-05 09:05:18 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-04-05 09:05:18 +0400 |
commit | db562488d672567dd367d64fa7a8a081e9dcbf9e (patch) | |
tree | b1c2c4ae10875cc7954cc80eb786fb3fcae55fd5 /source/blender/makesdna/DNA_key_types.h | |
parent | 62b254e42af10a38d1dd760b4b26177f23f6baca (diff) |
report [#30814] Absolute Shape Keys not working in 2.6
This report points out thet absolute shape keys are unusable.
The problem is there was no way to adjust the play time of a shape key (all absolte shape keys would start at frame zero with no way to change the speed).
Added an 'eval_time' property to the key block that works like the curve path evaluation time, so the time in the keyblock can be controlled.
Diffstat (limited to 'source/blender/makesdna/DNA_key_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_key_types.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_key_types.h b/source/blender/makesdna/DNA_key_types.h index f2840a3b9b7..611f4c2a25f 100644 --- a/source/blender/makesdna/DNA_key_types.h +++ b/source/blender/makesdna/DNA_key_types.h @@ -74,9 +74,10 @@ typedef struct Key { short type, totkey; short slurph, flag; + float ctime; /*can never be 0, this is used for detecting old data*/ - int uidgen, pad; /*current free uid for keyblocks*/ + int uidgen; /*current free uid for keyblocks*/ } Key; /* **************** KEY ********************* */ |