summaryrefslogtreecommitdiff
path: root/indra/newview/llenvmanager.cpp
diff options
context:
space:
mode:
authorVadim ProductEngine <vsavchuk@productengine.com>2011-05-19 21:10:34 +0300
committerVadim ProductEngine <vsavchuk@productengine.com>2011-05-19 21:10:34 +0300
commit0c358f78ab618de8727892a50cd3a3055dbdf956 (patch)
treef9d14f1717359eff41320d0a9f156f80fdecccf2 /indra/newview/llenvmanager.cpp
parentf02d6e7095d526bc7abc75cc796dc4f07c9b18c7 (diff)
STORM-1269 FIXED Teleport to a region that has no env. settings now resets environment to defaults.
Diffstat (limited to 'indra/newview/llenvmanager.cpp')
-rw-r--r--indra/newview/llenvmanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llenvmanager.cpp b/indra/newview/llenvmanager.cpp
index bc1e0f8b14..b670c730a7 100644
--- a/indra/newview/llenvmanager.cpp
+++ b/indra/newview/llenvmanager.cpp
@@ -821,7 +821,7 @@ void LLEnvManagerNew::onRegionChange(bool interpolate)
void LLEnvManagerNew::onRegionSettingsResponse(const LLSD& content)
{
// 1. Refresh cached region settings.
- LL_DEBUGS("Windlight") << "Caching region environment settings" << LL_ENDL;
+ LL_DEBUGS("Windlight") << "Caching region environment settings: " << content << LL_ENDL;
F32 sun_hour = 0; // *TODO
LLEnvironmentSettings new_settings(content[1], content[2], content[3], sun_hour);
mCachedRegionPrefs = new_settings;