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:
authorTon Roosendaal <ton@blender.org>2006-09-18 19:32:11 +0400
committerTon Roosendaal <ton@blender.org>2006-09-18 19:32:11 +0400
commitab2c57a29d3c4b6f61e2a342fc801959eaa54768 (patch)
treebf5405084f14b0bc55c66ae2d06c2996c53b0215 /source/blender/makesdna/DNA_texture_types.h
parent7494a3c96617d00a5aa28246cfa117f1a906ce03 (diff)
Maximum amount of keys in a ColorBand now is 32.
This is static array stuff... could be dynamic once.
Diffstat (limited to 'source/blender/makesdna/DNA_texture_types.h')
-rw-r--r--source/blender/makesdna/DNA_texture_types.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_texture_types.h b/source/blender/makesdna/DNA_texture_types.h
index e4d59687cfa..b93276624d5 100644
--- a/source/blender/makesdna/DNA_texture_types.h
+++ b/source/blender/makesdna/DNA_texture_types.h
@@ -101,9 +101,10 @@ typedef struct CBData {
int cur;
} CBData;
+/* 32 = MAXCOLORBAND */
typedef struct ColorBand {
short flag, tot, cur, ipotype;
- CBData data[16];
+ CBData data[32];
} ColorBand;