From ab2c57a29d3c4b6f61e2a342fc801959eaa54768 Mon Sep 17 00:00:00 2001 From: Ton Roosendaal Date: Mon, 18 Sep 2006 15:32:11 +0000 Subject: Maximum amount of keys in a ColorBand now is 32. This is static array stuff... could be dynamic once. --- source/blender/makesdna/DNA_texture_types.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source/blender/makesdna/DNA_texture_types.h') 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; -- cgit v1.2.3