Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Bishop <nicholasbishop@gmail.com>2011-01-18 07:08:01 +0300
committerNicholas Bishop <nicholasbishop@gmail.com>2011-01-18 07:08:01 +0300
commitc2a638a81e93f3183b3fdec2652aff1d2bde9ac9 (patch)
tree0c8a3262a73f0386802f758e89820d764ab02fc0 /source/blender/makesdna
parent2431e8e045f9fee8454ecd97f287d0e171b1ee94 (diff)
More fixes for bug [#25649], Image editor paint icon missing until
enter weight paint, hopefully fully fixed this time * The texture selector for brushes wasn't updating. Seems that preview images have two sizes, small (icon) and big, but it was only updating if the icon size was set to update. Now both are checked. * Also changed the previewimage arrays to use the already-existing PREVIEW_MIPMAPS define, makes it a little clearer what the arrays are for.
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r--source/blender/makesdna/DNA_ID.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/makesdna/DNA_ID.h b/source/blender/makesdna/DNA_ID.h
index 83561766a3c..ce1c328a876 100644
--- a/source/blender/makesdna/DNA_ID.h
+++ b/source/blender/makesdna/DNA_ID.h
@@ -127,11 +127,11 @@ typedef struct Library {
#define PREVIEW_MIPMAP_LARGE 1
typedef struct PreviewImage {
- unsigned int w[2];
- unsigned int h[2];
- short changed[2];
- short changed_timestamp[2];
- unsigned int * rect[2];
+ unsigned int w[PREVIEW_MIPMAPS];
+ unsigned int h[PREVIEW_MIPMAPS];
+ short changed[PREVIEW_MIPMAPS];
+ short changed_timestamp[PREVIEW_MIPMAPS];
+ unsigned int * rect[PREVIEW_MIPMAPS];
} PreviewImage;
/**