aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/pipeline.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/linden/indra/newview/pipeline.cpp b/linden/indra/newview/pipeline.cpp
index 67af961..efb5ff6 100644
--- a/linden/indra/newview/pipeline.cpp
+++ b/linden/indra/newview/pipeline.cpp
@@ -3596,6 +3596,11 @@ void LLPipeline::enableLightsAvatar()
3596 3596
3597void LLPipeline::enableLightsAvatarEdit(const LLColor4& color) 3597void LLPipeline::enableLightsAvatarEdit(const LLColor4& color)
3598{ 3598{
3599 if (mLightingDetail < 1)
3600 {
3601 return;
3602 }
3603
3599 U32 mask = 0x2002; // Avatar backlight only, set ambient 3604 U32 mask = 0x2002; // Avatar backlight only, set ambient
3600 setupAvatarLights(TRUE); 3605 setupAvatarLights(TRUE);
3601 enableLights(mask); 3606 enableLights(mask);