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:
authorSergey Sharybin <sergey.vfx@gmail.com>2017-12-14 17:12:05 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2017-12-14 17:25:51 +0300
commit400d59be9b058d4bfa31a84547591275f7c700b9 (patch)
tree0eab1d5d1d2ec4cad8b7ae345c996a826fd0af6b /source/blender/makesdna/DNA_text_types.h
parent99b7dc60bef5ff8680889ae8bcca1a8b14023402 (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_text_types.h')
-rw-r--r--source/blender/makesdna/DNA_text_types.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_text_types.h b/source/blender/makesdna/DNA_text_types.h
index 8d1bba6ca4f..17ef098a3bb 100644
--- a/source/blender/makesdna/DNA_text_types.h
+++ b/source/blender/makesdna/DNA_text_types.h
@@ -51,6 +51,7 @@ typedef struct Text {
ID id;
char *name;
+ void *compiled;
int flags, nlines;
@@ -59,9 +60,9 @@ typedef struct Text {
int curc, selc;
char *undo_buf;
+ void *pad;
int undo_pos, undo_len;
- void *compiled;
double mtime;
} Text;