summaryrefslogtreecommitdiff
path: root/indra/newview/pipeline.cpp
diff options
context:
space:
mode:
authorMnikolenko Productengine <mnikolenko@productengine.com>2020-10-09 14:05:47 +0300
committerMnikolenko Productengine <mnikolenko@productengine.com>2020-10-09 14:05:47 +0300
commit30bcce4e7a18e0a249f8d2fe029c91b27291e072 (patch)
tree811958ff9bf2964b41d561a02cb6b8d61645c3df /indra/newview/pipeline.cpp
parent6531ba9a58c010d6ab8a4fc50afc7be45209e246 (diff)
SL-13699 FIXED The sky settings are changed after entering the 'Editing Appearance' mode
Diffstat (limited to 'indra/newview/pipeline.cpp')
-rw-r--r--indra/newview/pipeline.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp
index 898ac63939..b49747837d 100644
--- a/indra/newview/pipeline.cpp
+++ b/indra/newview/pipeline.cpp
@@ -6514,7 +6514,7 @@ void LLPipeline::enableLightsDynamic()
{
gPipeline.enableLightsAvatar();
}
- else if (gAgentAvatarp->mSpecialRenderMode >= 1) // anim preview
+ else if (gAgentAvatarp->mSpecialRenderMode == 2) // anim preview
{
gPipeline.enableLightsAvatarEdit(LLColor4(0.7f, 0.6f, 0.3f, 1.f));
}