diff options
Diffstat (limited to 'source/blender/makesdna/DNA_key_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_key_types.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/source/blender/makesdna/DNA_key_types.h b/source/blender/makesdna/DNA_key_types.h index e86abf12424..02d3e8efb00 100644 --- a/source/blender/makesdna/DNA_key_types.h +++ b/source/blender/makesdna/DNA_key_types.h @@ -43,7 +43,7 @@ typedef struct KeyBlock { float pos; float curval; short type, adrcode, relative, flag; /* relative == 0 means first key is reference */ - int totelem, pad2; + int totelem, pad; void *data; float *weights; @@ -52,6 +52,8 @@ typedef struct KeyBlock { float slidermin; float slidermax; + + int uid, pad2; } KeyBlock; @@ -71,6 +73,9 @@ typedef struct Key { short type, totkey; short slurph, flag; + + /*can never be 0, this is used for detecting old data*/ + int uidgen, pad; /*current free uid for keyblocks*/ } Key; /* **************** KEY ********************* */ @@ -91,6 +96,6 @@ typedef struct Key { #define KEYBLOCK_MUTE (1<<0) #define KEYBLOCK_SEL (1<<1) #define KEYBLOCK_LOCKED (1<<2) - +#define KEYBLOCK_MISSING (1<<3) /*temporary flag*/ #endif |