diff options
author | Vadim ProductEngine <vsavchuk@productengine.com> | 2011-05-16 17:17:01 +0300 |
---|---|---|
committer | Vadim ProductEngine <vsavchuk@productengine.com> | 2011-05-16 17:17:01 +0300 |
commit | cccca566bd2365c88cca819729c5432af9dfa52f (patch) | |
tree | 8d81a737b1c6bf087a4d7330f1948155f554fcf2 /indra/newview/llwlhandlers.cpp | |
parent | 0d7ea0e5abb4df0a18f1d8b73cce81dc2070afad (diff) |
STORM-1245 WIP Reimplementing management of local presets according to the new spec.
User environment preferences are now persistent.
TODO: Implement applying region env. settings.
Diffstat (limited to 'indra/newview/llwlhandlers.cpp')
-rw-r--r-- | indra/newview/llwlhandlers.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/indra/newview/llwlhandlers.cpp b/indra/newview/llwlhandlers.cpp index c116265c86..de20051880 100644 --- a/indra/newview/llwlhandlers.cpp +++ b/indra/newview/llwlhandlers.cpp @@ -113,13 +113,21 @@ LLEnvironmentRequestResponder::LLEnvironmentRequestResponder() return; } +#if 0 LLEnvManager::getInstance()->processIncomingMessage(unvalidated_content, LLEnvKey::SCOPE_REGION); +#else + LL_INFOS("WindlightCaps") << "Temprarily ignoring region settings" << LL_ENDL; +#endif } /*virtual*/ void LLEnvironmentRequestResponder::error(U32 status, const std::string& reason) { LL_INFOS("WindlightCaps") << "Got an error, not using region windlight..." << LL_ENDL; +#if 0 // notify manager that region settings are undefined LLEnvManager::getInstance()->processIncomingMessage(LLSD(), LLEnvKey::SCOPE_REGION); +#else + LL_INFOS("WindlightCaps") << "Temprarily ignoring region settings" << LL_ENDL; +#endif } |