summaryrefslogtreecommitdiff
path: root/indra/newview/llagent.cpp
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2013-11-19 09:28:58 -0500
committerOz Linden <oz@lindenlab.com>2013-11-19 09:28:58 -0500
commita5db4f6c3d1f6804c20b3095b39203887728d3a6 (patch)
treeaa219d79f268ee2dbb517aef297e8e2073eec7c8 /indra/newview/llagent.cpp
parent6bd777214c535b91048533c792cb2dd499ec6ebf (diff)
add documentation to LLAgent::addRegionChangedCallback and improve logging
Diffstat (limited to 'indra/newview/llagent.cpp')
-rwxr-xr-xindra/newview/llagent.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/newview/llagent.cpp b/indra/newview/llagent.cpp
index da29aaff50..5302ae2636 100755
--- a/indra/newview/llagent.cpp
+++ b/indra/newview/llagent.cpp
@@ -261,9 +261,7 @@ bool handleSlowMotionAnimation(const LLSD& newvalue)
void LLAgent::setCanEditParcel() // called via mParcelChangedSignal
{
- LL_DEBUGS("AgentLocation") << LL_ENDL;
bool can_edit = LLToolMgr::getInstance()->canEdit();
-
gAgent.mCanEditParcel = can_edit;
}
@@ -837,7 +835,7 @@ void LLAgent::handleServerBakeRegionTransition(const LLUUID& region_id)
void LLAgent::changeParcels()
{
- LL_DEBUGS("AgentLocation") << LL_ENDL;
+ LL_DEBUGS("AgentLocation") << "Calling ParcelChanged callbacks" << LL_ENDL;
// Notify anything that wants to know about parcel changes
mParcelChangedSignal();
}
@@ -920,6 +918,8 @@ void LLAgent::setRegion(LLViewerRegion *regionp)
}
mRegionp = regionp;
+ // TODO - most of what follows probably should be moved into callbacks
+
// Pass the region host to LLUrlEntryParcel to resolve parcel name
// with a server request.
LLUrlEntryParcel::setRegionHost(getRegionHost());