Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2008-09-05 18:33:36 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2008-09-05 18:33:36 +0400
commit330aa94ecc0a674c7c2e8c34909c7b8ee9753c31 (patch)
tree0b4bb82c771d34f85fad19013f3c44f4dad6a1fe /source/gameengine/Ketsji/KX_Light.cpp
parent5b6e9eec7b907dcd06b81a199c132cac30ed1a6e (diff)
* GLSL lamps now respect 3d viewport layers.
* Fix undo crash related to sound. Sounds still stop working in the game engine after undo, but seems to be a different issue.
Diffstat (limited to 'source/gameengine/Ketsji/KX_Light.cpp')
-rw-r--r--source/gameengine/Ketsji/KX_Light.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/gameengine/Ketsji/KX_Light.cpp b/source/gameengine/Ketsji/KX_Light.cpp
index 6cfe5610863..979015532e3 100644
--- a/source/gameengine/Ketsji/KX_Light.cpp
+++ b/source/gameengine/Ketsji/KX_Light.cpp
@@ -105,7 +105,7 @@ void KX_LightObject::Update()
for(int j=0; j<4; j++, dobmat++)
obmat[i][j] = (float)*dobmat;
- GPU_lamp_update(lamp, obmat);
+ GPU_lamp_update(lamp, m_lightobj.m_layer, obmat);
}
}