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 | |
parent | c990cc71ce124059a072c7778ac962253bacb199 (diff) |
PATH-304: Adding more debug messaging and correcting the camel-case of the NavMesh update message.
-rw-r--r-- | etc/message.xml | 2 | ||||
-rw-r--r-- | indra/newview/llpathfindingmanager.cpp | 6 |
2 files changed, 7 insertions, 1 deletions
diff --git a/etc/message.xml b/etc/message.xml index 9407888a92..244bf7fb06 100644 --- a/etc/message.xml +++ b/etc/message.xml @@ -547,7 +547,7 @@ <boolean>true</boolean> </map> - <key>NavmeshStatusUpdate</key> + <key>NavMeshStatusUpdate</key> <map> <key>flavor</key> <string>llsd</string> 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);
}
|