forked from bartvdbraak/blender
Maximum amount of keys in a ColorBand now is 32.
This is static array stuff... could be dynamic once.
This commit is contained in:
parent
7494a3c966
commit
ab2c57a29d
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user