summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorprep <prep@lindenlab.com>2011-11-02 16:33:00 -0400
committerprep <prep@lindenlab.com>2011-11-02 16:33:00 -0400
commitbfbd649b4c2a2e03298e82d1caa6611dee4411cb (patch)
tree1bce34a3e259d64a1faaa36aba5d1285e6e6cebb
parent1424ecf6cc0892cfcf135473a4f330453c22b5c2 (diff)
Fixed up some of the required parameters for the navmesh llsd
-rw-r--r--indra/newview/llviewermenufile.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/newview/llviewermenufile.cpp b/indra/newview/llviewermenufile.cpp
index df7f06a774..baea83ffd9 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() );
}