diff options
author | Dave Parks <davep@lindenlab.com> | 2012-11-08 14:23:34 -0600 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2012-11-08 14:23:34 -0600 |
commit | ccad8c9411977287f1c42b288bf796308de81094 (patch) | |
tree | d114771df8469e4c9df6a9ecdd22edcbba7f24a0 /indra/newview/pipeline.cpp | |
parent | c431ddf629b7f1149c44b2063d216dd34bcd2b12 (diff) | |
parent | 2126cdb9a25da4dcc4c81659038b85bcff17c4ee (diff) |
Automated merge with http://bitbucket.org/lindenlab/viewer-lion
Diffstat (limited to 'indra/newview/pipeline.cpp')
-rw-r--r-- | indra/newview/pipeline.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp index 8ae3440349..b62e9f3031 100644 --- a/indra/newview/pipeline.cpp +++ b/indra/newview/pipeline.cpp @@ -6047,7 +6047,7 @@ void LLPipeline::enableLightsPreview() LLVector4 light_pos(dir0, 0.0f); - LLLightState* light = gGL.getLight(0); + LLLightState* light = gGL.getLight(1); light->enable(); light->setPosition(light_pos); @@ -6059,7 +6059,7 @@ void LLPipeline::enableLightsPreview() light_pos = LLVector4(dir1, 0.f); - light = gGL.getLight(1); + light = gGL.getLight(2); light->enable(); light->setPosition(light_pos); light->setDiffuse(diffuse1); @@ -6069,7 +6069,7 @@ void LLPipeline::enableLightsPreview() light->setSpotCutoff(180.f); light_pos = LLVector4(dir2, 0.f); - light = gGL.getLight(2); + light = gGL.getLight(3); light->enable(); light->setPosition(light_pos); light->setDiffuse(diffuse2); |