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:
authorTon Roosendaal <ton@blender.org>2007-11-20 19:58:25 +0300
committerTon Roosendaal <ton@blender.org>2007-11-20 19:58:25 +0300
commitb7e0da6c3a83bd5aa8d3ad4aa285904d5c121f91 (patch)
treea2bc329c2f9f36166e198c3efb6b5eca09ba963d /source/blender/makesdna/DNA_key_types.h
parent0ec59425210033b9158bd8d2fbc5c6de1bc62bbb (diff)
Another feature request from the animation dept:
Relative shapekeys now allow to define the Shape it is relative to! (It used to be relative with respect to the first key, which is still default). The reason for this feature is that keys don't always add together well when they're all derived from the same base shape. A clear example is hard to make... will wait for someone posting it. :)
Diffstat (limited to 'source/blender/makesdna/DNA_key_types.h')
-rw-r--r--source/blender/makesdna/DNA_key_types.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesdna/DNA_key_types.h b/source/blender/makesdna/DNA_key_types.h
index 3292e07f80e..785cf515a42 100644
--- a/source/blender/makesdna/DNA_key_types.h
+++ b/source/blender/makesdna/DNA_key_types.h
@@ -44,8 +44,8 @@ typedef struct KeyBlock {
float pos;
float curval;
- short type, adrcode;
- int totelem;
+ short type, adrcode, relative, pad1; /* relative == 0 means first key is reference */
+ int totelem, pad2;
void *data;
float *weights;