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:
authorCampbell Barton <ideasman42@gmail.com>2011-01-22 07:02:54 +0300
committerCampbell Barton <ideasman42@gmail.com>2011-01-22 07:02:54 +0300
commit99ae4467d22c62863e3b86bd4b707a96b3361a1d (patch)
tree3633edc69fecab9c53a8893edb3229ee223480a0 /source/blender/makesdna
parent799e9c48c1a210386873ae01a0f208675eafffe7 (diff)
fix for makesdna error.
ERROR: still 1 structs unknown *** Unknown structs : PreviewImage
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r--source/blender/makesdna/DNA_ID.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_ID.h b/source/blender/makesdna/DNA_ID.h
index ce1c328a876..a0e56c6241f 100644
--- a/source/blender/makesdna/DNA_ID.h
+++ b/source/blender/makesdna/DNA_ID.h
@@ -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];