diff options
author | Dave Parks <davep@lindenlab.com> | 2012-01-24 12:59:18 -0600 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2012-01-24 12:59:18 -0600 |
commit | e02f007d2013e089c07f3abefe2d87d85cbcc834 (patch) | |
tree | e5d1342952d33265ce12ebeea4fb4bed8a0c1377 /indra/llrender | |
parent | 18e7f1bffd875bb933212367f0d62dfc4da871b9 (diff) |
SH-1427 Fix for spot lights not working properly on alpha objects, and fix for alpha lighting of point lights not matching deferred lights.
Diffstat (limited to 'indra/llrender')
-rw-r--r-- | indra/llrender/llrender.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llrender/llrender.cpp b/indra/llrender/llrender.cpp index cd827f5091..f26764cc42 100644 --- a/indra/llrender/llrender.cpp +++ b/indra/llrender/llrender.cpp @@ -997,7 +997,7 @@ void LLLightState::setSpotDirection(const LLVector3& direction) const glh::matrix4f& mat = gGL.getModelviewMatrix(); mat.mult_matrix_dir(dir); - mSpotDirection.set(direction); + mSpotDirection.set(dir.v); } } |