fix for makesdna error.

ERROR: still 1 structs unknown
*** Unknown structs : 
  PreviewImage
This commit is contained in:
Campbell Barton 2011-01-22 04:02:54 +00:00
parent 799e9c48c1
commit 99ae4467d2
1 changed files with 5 additions and 1 deletions

View File

@ -126,9 +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];
unsigned int h[PREVIEW_MIPMAPS];
short changed[PREVIEW_MIPMAPS];
short changed_timestamp[PREVIEW_MIPMAPS];
unsigned int * rect[PREVIEW_MIPMAPS];