diff options
author | Todd Stinson <stinson@lindenlab.com> | 2012-03-13 10:23:55 -0700 |
---|---|---|
committer | Todd Stinson <stinson@lindenlab.com> | 2012-03-13 10:23:55 -0700 |
commit | b84db8354d992cfddfd64eb80ebd80c4b6baf3f8 (patch) | |
tree | d3b1cc5b7df86899b73f157ae3c32c42c29f58e9 /indra | |
parent | c990cc71ce124059a072c7778ac962253bacb199 (diff) |
PATH-304: Adding more debug messaging and correcting the camel-case of the NavMesh update message.
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/llpathfindingmanager.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llpathfindingmanager.cpp b/indra/newview/llpathfindingmanager.cpp index 9abd9fda1a..f3b9bc4b8a 100644 --- a/indra/newview/llpathfindingmanager.cpp +++ b/indra/newview/llpathfindingmanager.cpp @@ -627,6 +627,9 @@ LLViewerRegion *LLPathfindingManager::getCurrentRegion() const void LLNavMeshSimStateChangeNode::post(ResponsePtr pResponse, const LLSD &pContext, const LLSD &pInput) const
{
+#ifdef XXX_STINSON_DEBUG_NAVMESH_ZONE
+ llinfos << "Received NavMeshStatusUpdate: " << pContext << llendl;
+#endif // XXX_STINSON_DEBUG_NAVMESH_ZONE
LLPathfindingNavMeshStatus navMeshStatus(pContext);
LLPathfindingManager::getInstance()->handleNavMeshStatusUpdate(pContext);
}
@@ -652,6 +655,9 @@ NavMeshStatusResponder::~NavMeshStatusResponder() void NavMeshStatusResponder::result(const LLSD &pContent)
{
+#ifdef XXX_STINSON_DEBUG_NAVMESH_ZONE
+ llinfos << "Received requested NavMeshStatus: " << pContent << llendl;
+#endif // XXX_STINSON_DEBUG_NAVMESH_ZONE
LLPathfindingNavMeshStatus navMeshStatus(mRegionUUID, pContent);
LLPathfindingManager::getInstance()->handleNavMeshStatusRequest(navMeshStatus, mRegion);
}
|