summaryrefslogtreecommitdiff
path: root/indra/newview/llenvmanager.cpp
diff options
context:
space:
mode:
authorVadim ProductEngine <vsavchuk@productengine.com>2011-04-07 06:26:42 +0300
committerVadim ProductEngine <vsavchuk@productengine.com>2011-04-07 06:26:42 +0300
commit4b5eeb34601ac642194e245ef3928a3b9e56d3b8 (patch)
tree7231c6fe014c0ec26c04c7a4ddff2ac49677907d /indra/newview/llenvmanager.cpp
parent89d747221c15ce8eee19252291a0273871e8c986 (diff)
STORM-1142 ADDITIONAL_COMMIT Debugging improvements.
Diffstat (limited to 'indra/newview/llenvmanager.cpp')
-rw-r--r--indra/newview/llenvmanager.cpp12
1 files changed, 11 insertions, 1 deletions
diff --git a/indra/newview/llenvmanager.cpp b/indra/newview/llenvmanager.cpp
index 9300161837..b69586e88e 100644
--- a/indra/newview/llenvmanager.cpp
+++ b/indra/newview/llenvmanager.cpp
@@ -176,7 +176,6 @@ void LLEnvManager::clearEditingScope(const LLSD& notification, const LLSD& respo
return;
}
- LL_DEBUGS("Windlight") << "Clearing editing scope " << mCurNormalScope << LL_ENDL;
mIsEditing = false;
updateUIFromEditability();
@@ -536,3 +535,14 @@ void LLEnvManager::notifyOptInChange()
maybeClearEditingScope(true, false);
}
+
+void LLEnvManager::dumpScopes()
+{
+ LLSD scope_dump;
+
+ scope_dump = makePacket(LLEnvKey::SCOPE_LOCAL, LLSD());
+ LL_DEBUGS("Windlight") << "Local scope:" << scope_dump << LL_ENDL;
+
+ scope_dump = makePacket(LLEnvKey::SCOPE_REGION, LLSD());
+ LL_DEBUGS("Windlight") << "Region scope:" << scope_dump << LL_ENDL;
+}