Fix for bug #18423: BGE lights in overlay scene also affected
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Tue, 24 Mar 2009 15:45:08 +0000 (15:45 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Tue, 24 Mar 2009 15:45:08 +0000 (15:45 +0000)
commitce8badeb187931cc24d29730d0d10a7242bb7969
tree61791f61cb6d7de53aaceaa520a28cfe635292c7
parentdbe675195d8f78fb3a5f9b89d0c6b89a47513198
Fix for bug #18423: BGE lights in overlay scene also affected
other scenes, for texture face / multitexture materials.

Fix for bug #18428: BGE lights on hidden layers were still used,
for all material types, now they have no effect
source/gameengine/BlenderRoutines/KX_BlenderRenderTools.cpp
source/gameengine/BlenderRoutines/KX_BlenderRenderTools.h
source/gameengine/GamePlayer/common/GPC_RenderTools.cpp
source/gameengine/GamePlayer/common/GPC_RenderTools.h
source/gameengine/Ketsji/BL_BlenderShader.cpp
source/gameengine/Ketsji/KX_Light.cpp
source/gameengine/Rasterizer/RAS_IRenderTools.h
source/gameengine/Rasterizer/RAS_LightObject.h
source/gameengine/Rasterizer/RAS_MaterialBucket.cpp