Slightly Modified version of Kester Maddock's Lamps patch to up the

max from 256 to 32766.

I removed the duplicate define and updated the files that needed it.

Kent
This commit is contained in:
Kent Mein 2003-05-20 17:09:55 +00:00
parent feda2db76a
commit 6f19051502
4 changed files with 3 additions and 5 deletions

@ -141,7 +141,7 @@
/* **************** MAX ********************* */ /* **************** MAX ********************* */
#define MAXLAMP 256 #define MAXLAMP 32766
/* max length material array, 16 because of bits in matfrom */ /* max length material array, 16 because of bits in matfrom */
#define MAXPICKBUF 2000 #define MAXPICKBUF 2000
#define MAXSEQ 32 #define MAXSEQ 32

@ -89,9 +89,5 @@ typedef struct Lamp {
/* mapto */ /* mapto */
#define LAMAP_COL 1 #define LAMAP_COL 1
/* bit isolated... */
#define MAXLAMP 256
#endif #endif

@ -46,6 +46,7 @@
#include "BLI_winstuff.h" #include "BLI_winstuff.h"
#endif #endif
#include "blendef.h"
#include "MEM_guardedalloc.h" #include "MEM_guardedalloc.h"
#include "PIL_time.h" #include "PIL_time.h"

@ -42,6 +42,7 @@
#include <string.h> #include <string.h>
#include <limits.h> /* for INT_MAX */ #include <limits.h> /* for INT_MAX */
#include "blendef.h"
#include "MTC_matrixops.h" #include "MTC_matrixops.h"
#include "MEM_guardedalloc.h" #include "MEM_guardedalloc.h"