diff options
Diffstat (limited to 'source/blender/makesdna/DNA_object_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_object_types.h | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/source/blender/makesdna/DNA_object_types.h b/source/blender/makesdna/DNA_object_types.h index bdd238d1644..e525a4fae0c 100644 --- a/source/blender/makesdna/DNA_object_types.h +++ b/source/blender/makesdna/DNA_object_types.h @@ -143,6 +143,14 @@ typedef struct ObjectDisplay { int flag; } ObjectDisplay; +/* Not saved in file! */ +typedef struct Object_Runtime { + /* Mesh structure created during object evaluation. + * It has all modifiers applied. + */ + struct Mesh *mesh_eval; +} Object_Runtime; + typedef struct Object { ID id; struct AnimData *adt; /* animation data (must be immediately after id for utilities to use it) */ @@ -299,10 +307,8 @@ typedef struct Object { int pad6; int select_color; - /* Mesh structure created during object evaluation. - * It has all modifiers applied. - */ - struct Mesh *mesh_eval; + /* Runtime evaluation data. */ + Object_Runtime runtime; /* Object Display */ struct ObjectDisplay display; |