diff options
author | Joseph Eagar <joeedh@gmail.com> | 2008-07-24 23:22:17 +0400 |
---|---|---|
committer | Joseph Eagar <joeedh@gmail.com> | 2008-07-24 23:22:17 +0400 |
commit | 0118a8237979c42e4d748ce79a8048c4b9382d17 (patch) | |
tree | a335e39fd2c8d91ac7f4c85b5af518c549ee5cd0 /source/blender/makesdna/DNA_ID.h | |
parent | b93156a686449e13e84db2bc112fabd3d07f82d1 (diff) |
added support for doubles to the id property code, and made the python code use them by default
Diffstat (limited to 'source/blender/makesdna/DNA_ID.h')
-rw-r--r-- | source/blender/makesdna/DNA_ID.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_ID.h b/source/blender/makesdna/DNA_ID.h index 60050ea010e..3054e038ba2 100644 --- a/source/blender/makesdna/DNA_ID.h +++ b/source/blender/makesdna/DNA_ID.h @@ -46,7 +46,7 @@ struct ID; typedef struct IDPropertyData { void *pointer; ListBase group; - int val, pad; + int val, val2; /*note, we actually fit a double into these two ints*/ } IDPropertyData; typedef struct IDProperty { @@ -77,6 +77,7 @@ typedef struct IDProperty { /*the ID link property type hasn't been implemented yet, this will require some cleanup of blenkernel, most likely.*/ #define IDP_ID 7 +#define IDP_DOUBLE 8 /*add any future new id property types here.*/ |