diff options
author | Ton Roosendaal <ton@blender.org> | 2008-11-27 19:00:59 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2008-11-27 19:00:59 +0300 |
commit | d6aff38426a29af19230ee5badbda47ff4c0a306 (patch) | |
tree | 0decc8fd324088883835f5a06afb58af876d7be1 /source/blender/makesdna/DNA_ID.h | |
parent | 6b5c948457b3627ffd69c0a2f6aaa8105642eb75 (diff) |
Patch to allow pre-2.50 Blenders to read newer files.
Since we'll reshuffle a lot in UI code, making new Screens totally
incompatible, this patch saves the Screen chunk in Blender files
with a new identifier (ID_SCRN), causing it to be not read in old
Blender binaries. Pre-2.50 blender already has a facility to recover
from this (it keeps old UI), including for .B.blends (it opens
default simple screen)
For the latter reason, it might be advisable to have the .B.blend
for 2.50+ saved as another name? Then you can use both for while.
(Note: commit is just 3 lines of code, other files are comments I
added for documentation of other stuff)
Diffstat (limited to 'source/blender/makesdna/DNA_ID.h')
-rw-r--r-- | source/blender/makesdna/DNA_ID.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_ID.h b/source/blender/makesdna/DNA_ID.h index ea9f64cc26c..3ad2ae48d53 100644 --- a/source/blender/makesdna/DNA_ID.h +++ b/source/blender/makesdna/DNA_ID.h @@ -174,6 +174,7 @@ typedef struct PreviewImage { #define ID_KE MAKE_ID2('K', 'E') #define ID_WO MAKE_ID2('W', 'O') #define ID_SCR MAKE_ID2('S', 'R') +#define ID_SCRN MAKE_ID2('S', 'N') #define ID_VF MAKE_ID2('V', 'F') #define ID_TXT MAKE_ID2('T', 'X') #define ID_SO MAKE_ID2('S', 'O') |