summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--etc/message.xml2
-rw-r--r--indra/newview/llpathfindingmanager.cpp6
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);
}