Skip to content
Snippets Groups Projects
Commit b84db835 authored by Todd Stinson's avatar Todd Stinson
Browse files

PATH-304: Adding more debug messaging and correcting the camel-case of the NavMesh update message.

parent c990cc71
No related branches found
No related tags found
No related merge requests found
...@@ -547,7 +547,7 @@ ...@@ -547,7 +547,7 @@
<boolean>true</boolean> <boolean>true</boolean>
</map> </map>
<key>NavmeshStatusUpdate</key> <key>NavMeshStatusUpdate</key>
<map> <map>
<key>flavor</key> <key>flavor</key>
<string>llsd</string> <string>llsd</string>
......
...@@ -627,6 +627,9 @@ LLViewerRegion *LLPathfindingManager::getCurrentRegion() const ...@@ -627,6 +627,9 @@ LLViewerRegion *LLPathfindingManager::getCurrentRegion() const
void LLNavMeshSimStateChangeNode::post(ResponsePtr pResponse, const LLSD &pContext, const LLSD &pInput) 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); LLPathfindingNavMeshStatus navMeshStatus(pContext);
LLPathfindingManager::getInstance()->handleNavMeshStatusUpdate(pContext); LLPathfindingManager::getInstance()->handleNavMeshStatusUpdate(pContext);
} }
...@@ -652,6 +655,9 @@ NavMeshStatusResponder::~NavMeshStatusResponder() ...@@ -652,6 +655,9 @@ NavMeshStatusResponder::~NavMeshStatusResponder()
void NavMeshStatusResponder::result(const LLSD &pContent) 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); LLPathfindingNavMeshStatus navMeshStatus(mRegionUUID, pContent);
LLPathfindingManager::getInstance()->handleNavMeshStatusRequest(navMeshStatus, mRegion); LLPathfindingManager::getInstance()->handleNavMeshStatusRequest(navMeshStatus, mRegion);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment