diff options
author | Graham Linden <graham@lindenlab.com> | 2019-05-31 13:47:44 -0700 |
---|---|---|
committer | Graham Linden <graham@lindenlab.com> | 2019-05-31 13:47:44 -0700 |
commit | 58f7b981bdb415311f23dfffc39e7a841b3017a0 (patch) | |
tree | c2ab03473650063efdc37deb0701a58035ff7ff9 /indra/newview/llfloatermodelpreview.cpp | |
parent | 485c5978e7559471f4dad66fb141408262d75363 (diff) |
SL-11337
Fix handling of ambient (was getting reset to 1,1,1,1 unintentionally).
Modify shaders to balance ambient across render modes again.
Diffstat (limited to 'indra/newview/llfloatermodelpreview.cpp')
-rw-r--r-- | indra/newview/llfloatermodelpreview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llfloatermodelpreview.cpp b/indra/newview/llfloatermodelpreview.cpp index 4f1ea4a89e..35df26c405 100644 --- a/indra/newview/llfloatermodelpreview.cpp +++ b/indra/newview/llfloatermodelpreview.cpp @@ -4016,7 +4016,7 @@ BOOL LLModelPreview::render() glLineWidth(3.f); glPointSize(8.f); - gPipeline.enableLightsFullbright(LLColor4::white); + gPipeline.enableLightsFullbright(); //show degenerate triangles LLGLDepthTest depth(GL_TRUE, GL_TRUE, GL_ALWAYS); LLGLDisable cull(GL_CULL_FACE); |