summaryrefslogtreecommitdiff
path: root/indra/newview/pipeline.cpp
diff options
context:
space:
mode:
authorDave Houlton <euclid@lindenlab.com>2020-10-14 16:23:05 -0600
committerDave Houlton <euclid@lindenlab.com>2020-10-14 16:23:05 -0600
commit317ff2ce6241b9eaccacbc27117351ebc3d5eea7 (patch)
tree2f162a12cd3b0878fca6d1d37124ef5adb2fa7f7 /indra/newview/pipeline.cpp
parent846fc179b13ba06fe9a51be69d80e86d0f433a73 (diff)
parent52af846672d1d4f1cb9ccd46239cff9c81400ed5 (diff)
Merged 6.4.11 into DRTVWR-510
Diffstat (limited to 'indra/newview/pipeline.cpp')
-rw-r--r--indra/newview/pipeline.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp
index f565573935..604c5f770d 100644
--- a/indra/newview/pipeline.cpp
+++ b/indra/newview/pipeline.cpp
@@ -6562,7 +6562,7 @@ void LLPipeline::enableLightsPreview()
light->enable();
light->setPosition(light_pos);
light->setDiffuse(diffuse0);
- light->setAmbient(LLColor4::black);
+ light->setAmbient(ambient);
light->setSpecular(specular0);
light->setSpotExponent(0.f);
light->setSpotCutoff(180.f);
@@ -6573,7 +6573,7 @@ void LLPipeline::enableLightsPreview()
light->enable();
light->setPosition(light_pos);
light->setDiffuse(diffuse1);
- light->setAmbient(LLColor4::black);
+ light->setAmbient(ambient);
light->setSpecular(specular1);
light->setSpotExponent(0.f);
light->setSpotCutoff(180.f);
@@ -6583,7 +6583,7 @@ void LLPipeline::enableLightsPreview()
light->enable();
light->setPosition(light_pos);
light->setDiffuse(diffuse2);
- light->setAmbient(LLColor4::black);
+ light->setAmbient(ambient);
light->setSpecular(specular2);
light->setSpotExponent(0.f);
light->setSpotCutoff(180.f);