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:
-rw-r--r--source/blender/blenkernel/BKE_texture.h2
-rw-r--r--source/blender/makesdna/DNA_texture_types.h3
2 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/blenkernel/BKE_texture.h b/source/blender/blenkernel/BKE_texture.h
index a34ef43cab7..83229ec35a2 100644
--- a/source/blender/blenkernel/BKE_texture.h
+++ b/source/blender/blenkernel/BKE_texture.h
@@ -44,7 +44,7 @@ struct TexMapping;
struct EnvMap;
/* in ColorBand struct */
-#define MAXCOLORBAND 16
+#define MAXCOLORBAND 32
void free_texture(struct Tex *t);
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;