own fix r34446, was incorrect, fixed properly now.

This commit is contained in:
Campbell Barton 2011-01-22 04:40:15 +00:00
parent 98124e7f94
commit 3d635c0733
1 changed files with 6 additions and 9 deletions

View File

@ -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;
/**