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:
authorJoseph Eagar <joeedh@gmail.com>2009-11-02 09:33:16 +0300
committerJoseph Eagar <joeedh@gmail.com>2009-11-02 09:33:16 +0300
commite3a410d224380a82099cfd7e9f47074293df001b (patch)
tree7054dac876ffe8cb33cce426696c3b5373842608 /source/blender/makesdna/DNA_key_types.h
parent71d2ceb69147aeead0800cb3b66c37fd132e8c48 (diff)
shapekeys are now stored as customdata in editmode, so edit operations like subdivide work (mostly) correctly. tesselated faces now store correct normals in more situations. and added more missing files from the last merge, there may be more though.
Diffstat (limited to 'source/blender/makesdna/DNA_key_types.h')
-rw-r--r--source/blender/makesdna/DNA_key_types.h9
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