own fix r34446, was incorrect, fixed properly now.
This commit is contained in:
parent
98124e7f94
commit
3d635c0733
|
@ -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;
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue