Special bf-committers request; Lamp/World/Material now each have 10
authorTon Roosendaal <ton@blender.org>
Sat, 4 Dec 2004 21:49:02 +0000 (21:49 +0000)
committerTon Roosendaal <ton@blender.org>
Sat, 4 Dec 2004 21:49:02 +0000 (21:49 +0000)
commitaad31875d7224c58b1d94bd716bb5aab295fc8cb
tree8ef506c415f32ce8c5c5116c9f725f4369468852
parent8d4782f7297c4a703b23b6b5383c0d76e4907903
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!)
23 files changed:
source/blender/blenkernel/intern/ipo.c
source/blender/blenkernel/intern/material.c
source/blender/blenkernel/intern/object.c
source/blender/blenkernel/intern/texture.c
source/blender/blenkernel/intern/world.c
source/blender/blenloader/intern/readfile.c
source/blender/blenloader/intern/writefile.c
source/blender/makesdna/DNA_ipo_types.h
source/blender/makesdna/DNA_lamp_types.h
source/blender/makesdna/DNA_material_types.h
source/blender/makesdna/DNA_world_types.h
source/blender/python/api2_2x/Material.c
source/blender/render/extern/include/render_types.h
source/blender/render/intern/source/texture.c
source/blender/renderconverter/intern/convertBlenderScene.c
source/blender/src/buttons_shading.c
source/blender/src/editipo.c
source/blender/src/editobject.c
source/blender/src/header_buttonswin.c
source/blender/src/header_ipo.c
source/blender/src/oops.c
source/blender/src/outliner.c
source/blender/src/previewrender.c