diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-01-22 07:40:15 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-01-22 07:40:15 +0300 |
commit | 3d635c07331530d41f87e576896bbfbebdaf8c6c (patch) | |
tree | 5afd2085a786875d7654d893ce5e39359253a4ce /source/blender/makesdna | |
parent | 98124e7f945a84b160d36a40a2b11fcddffa5d1b (diff) |
own fix r34446, was incorrect, fixed properly now.
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_ID.h | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/source/blender/makesdna/DNA_ID.h b/source/blender/makesdna/DNA_ID.h index a0e56c6241f..7d4d3d7c333 100644 --- a/source/blender/makesdna/DNA_ID.h +++ b/source/blender/makesdna/DNA_ID.h @@ -126,16 +126,13 @@ typedef struct Library { #define PREVIEW_MIPMAP_ZERO 0 #define PREVIEW_MIPMAP_LARGE 1 -/* not saved, note 'PREVIEW_MIPMAPS' will break makesdna parsing. - * replace with value if saving to blend files */ -# -# typedef struct PreviewImage { - unsigned int w[PREVIEW_MIPMAPS]; - unsigned int h[PREVIEW_MIPMAPS]; - short changed[PREVIEW_MIPMAPS]; - short changed_timestamp[PREVIEW_MIPMAPS]; - unsigned int * rect[PREVIEW_MIPMAPS]; + /* All values of 2 are really PREVIEW_MIPMAPS */ + unsigned int w[2]; + unsigned int h[2]; + short changed[2]; + short changed_timestamp[2]; + unsigned int * rect[2]; } PreviewImage; /** |