Maximum amount of keys in a ColorBand now is 32.

This is static array stuff... could be dynamic once.
This commit is contained in:
Ton Roosendaal 2006-09-18 15:32:11 +00:00
parent 7494a3c966
commit ab2c57a29d
2 changed files with 3 additions and 2 deletions

@ -44,7 +44,7 @@ struct TexMapping;
struct EnvMap;
/* in ColorBand struct */
#define MAXCOLORBAND 16
#define MAXCOLORBAND 32
void free_texture(struct Tex *t);

@ -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;