From b84db8354d992cfddfd64eb80ebd80c4b6baf3f8 Mon Sep 17 00:00:00 2001
From: Todd Stinson <stinson@lindenlab.com>
Date: Tue, 13 Mar 2012 10:23:55 -0700
Subject: PATH-304: Adding more debug messaging and correcting the camel-case
 of the NavMesh update message.

---
 indra/newview/llpathfindingmanager.cpp | 6 ++++++
 1 file changed, 6 insertions(+)

(limited to 'indra/newview')

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);
 }
-- 
cgit v1.2.3