diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-12-14 17:12:05 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-12-14 17:25:51 +0300 |
commit | 400d59be9b058d4bfa31a84547591275f7c700b9 (patch) | |
tree | 0eab1d5d1d2ec4cad8b7ae345c996a826fd0af6b /source/blender/makesdna/DNA_ID.h | |
parent | 99b7dc60bef5ff8680889ae8bcca1a8b14023402 (diff) |
DNA: Add dedicated recalc flag to ID
Currently unused, but this is where LIB_TAG_ID_RECALC* flags will go.
Also modified other DNA to make pointer property being followed by pointer.
Makes it easier to keep track of alignment and extend nested structures without
ruining anything.
Diffstat (limited to 'source/blender/makesdna/DNA_ID.h')
-rw-r--r-- | source/blender/makesdna/DNA_ID.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesdna/DNA_ID.h b/source/blender/makesdna/DNA_ID.h index 564aa994df1..f0fc651353f 100644 --- a/source/blender/makesdna/DNA_ID.h +++ b/source/blender/makesdna/DNA_ID.h @@ -130,11 +130,11 @@ typedef struct ID { int tag; int us; int icon_id; + int recalc; + int pad; IDProperty *properties; void *py_instance; - - void *pad1; } ID; /** |