From bfbd649b4c2a2e03298e82d1caa6611dee4411cb Mon Sep 17 00:00:00 2001
From: prep <prep@lindenlab.com>
Date: Wed, 2 Nov 2011 16:33:00 -0400
Subject: [PATCH] Fixed up some of the required parameters for the navmesh llsd

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

diff --git a/indra/newview/llviewermenufile.cpp b/indra/newview/llviewermenufile.cpp
index df7f06a7740..baea83ffd9b 100644
--- a/indra/newview/llviewermenufile.cpp
+++ b/indra/newview/llviewermenufile.cpp
@@ -115,10 +115,10 @@ class LLFileUploadNavMesh  : public view_listener_t, LLNavMeshObserver
 					llinfos<< typeid(*this).name() <<"setNavMeshUploadURL "<< url <<llendl;					
 					//Populate the required paramters that are required to store in the dictionary
 					data["agent_id"]  = gAgent.getID();
-					data["object_id"] = "prepFIXME";
+					data["object_id"] = "prepFIXME#IsThisReallyNeeded?";
 					data["region_id"] = gAgent.getRegion()->getRegionID();
-					data["sim_host"]  = "prepFIXME";
-					data["sim_port"]  = "prepFIXME";						
+					data["sim_host"]  = gAgent.getRegion()->getHost().getString();
+					data["sim_port"]  = (S32)gAgent.getRegion()->getHost().getPort();
 					LLNavMeshStation::getInstance()->setNavMeshUploadURL( url );
 					LLNavMeshStation::getInstance()->postNavMeshToServer( data, getObserverHandle() );
 				}				
-- 
GitLab