From aad31875d7224c58b1d94bd716bb5aab295fc8cb Mon Sep 17 00:00:00 2001 From: Ton Roosendaal Date: Sat, 4 Dec 2004 21:49:02 +0000 Subject: Special bf-committers request; Lamp/World/Material now each have 10 channels to link texture to. The amount of code changes seems large, but is mostly getting rind of hardcoded values (6 and 8) for channels, replacing it with MAX_MTEX. Further did some fixes; - Ipo for Lamp showed too many mapping channels - Texture MapTo buttons for lamp missed the slider to blend texture color - Lamp texture mapping "View" only worked for Spot, now it uses lamp- view vector for all types. (Nice for projections!) --- source/blender/makesdna/DNA_ipo_types.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'source/blender/makesdna/DNA_ipo_types.h') diff --git a/source/blender/makesdna/DNA_ipo_types.h b/source/blender/makesdna/DNA_ipo_types.h index 8363fa0481a..206c531d77f 100644 --- a/source/blender/makesdna/DNA_ipo_types.h +++ b/source/blender/makesdna/DNA_ipo_types.h @@ -153,6 +153,8 @@ typedef short IPO_Channel; #define MA_MAP6 0x400 #define MA_MAP7 0x800 #define MA_MAP8 0x1000 +#define MA_MAP9 0x2000 +#define MA_MAP10 0x4000 #define TEX_TOTNAM 14 @@ -252,7 +254,7 @@ typedef short IPO_Channel; /* ******************** */ -#define LA_TOTIPO 23 +#define LA_TOTIPO 21 #define LA_TOTNAM 10 #define LA_ENERGY 1 -- cgit v1.2.3