own fix r34446, was incorrect, fixed properly now.
This commit is contained in:
@@ -126,16 +126,13 @@ typedef struct Library {
|
|||||||
#define PREVIEW_MIPMAP_ZERO 0
|
#define PREVIEW_MIPMAP_ZERO 0
|
||||||
#define PREVIEW_MIPMAP_LARGE 1
|
#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 {
|
typedef struct PreviewImage {
|
||||||
unsigned int w[PREVIEW_MIPMAPS];
|
/* All values of 2 are really PREVIEW_MIPMAPS */
|
||||||
unsigned int h[PREVIEW_MIPMAPS];
|
unsigned int w[2];
|
||||||
short changed[PREVIEW_MIPMAPS];
|
unsigned int h[2];
|
||||||
short changed_timestamp[PREVIEW_MIPMAPS];
|
short changed[2];
|
||||||
unsigned int * rect[PREVIEW_MIPMAPS];
|
short changed_timestamp[2];
|
||||||
|
unsigned int * rect[2];
|
||||||
} PreviewImage;
|
} PreviewImage;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user