aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden
diff options
context:
space:
mode:
authorMcCabe Maxsted2009-10-13 01:42:15 -0700
committerMcCabe Maxsted2009-10-13 01:42:15 -0700
commit575931aff44a02f0b727211c82c589907650e580 (patch)
tree151653f261de8898720236a49ebd9451f035ab98 /linden
parentOnly enable import/export of shapes if they're full perm and you're the creator (diff)
downloadmeta-impy-575931aff44a02f0b727211c82c589907650e580.zip
meta-impy-575931aff44a02f0b727211c82c589907650e580.tar.gz
meta-impy-575931aff44a02f0b727211c82c589907650e580.tar.bz2
meta-impy-575931aff44a02f0b727211c82c589907650e580.tar.xz
Disable avatar appearance facelight when local lighting turned off
Diffstat (limited to 'linden')
-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);