diff options
author | Ton Roosendaal <ton@blender.org> | 2011-01-02 16:33:32 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2011-01-02 16:33:32 +0300 |
commit | 118667c1bfcbac12f38435f5e143ece41bb7a4fd (patch) | |
tree | aea89b8fa0122bcb0dcae1519362308ac8bf89f3 /source/blender/makesdna/DNA_fileglobal_types.h | |
parent | 939cf114bb4465fc9977620b84bad60047526fe8 (diff) |
Small feature for debugging pleasure:
The svn revision nr is saved in Blender file header now.
Can only be retrieved with running blender -d now.
Diffstat (limited to 'source/blender/makesdna/DNA_fileglobal_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_fileglobal_types.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_fileglobal_types.h b/source/blender/makesdna/DNA_fileglobal_types.h index ae539a18963..0c3a9429de6 100644 --- a/source/blender/makesdna/DNA_fileglobal_types.h +++ b/source/blender/makesdna/DNA_fileglobal_types.h @@ -47,7 +47,8 @@ typedef struct FileGlobal { struct Scene *curscene; int fileflags; int globalf; - + int revision; /* svn revision from buildinfo */ + int pad; /* file path where this was saved, for recover */ char filename[240]; /* 240 = FILE_MAX */ } FileGlobal; |