summaryrefslogtreecommitdiff
path: root/indra/newview/llagentlistener.cpp
diff options
context:
space:
mode:
authorYuri Chebotarev <ychebotarev@productengine.com>2010-05-13 15:56:34 +0300
committerYuri Chebotarev <ychebotarev@productengine.com>2010-05-13 15:56:34 +0300
commitbef3172ed989da5aed11eb1d8e51c071386d843c (patch)
treeba214e92afbf7fe241e9b2512a04ab62c0861f46 /indra/newview/llagentlistener.cpp
parent059a71423019b6a38c41e2dae6d3e879aa893beb (diff)
parent3040d68c2637084176bdae759a89e264b1a3e14e (diff)
merge
--HG-- branch : product-engine
Diffstat (limited to 'indra/newview/llagentlistener.cpp')
-rw-r--r--indra/newview/llagentlistener.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/newview/llagentlistener.cpp b/indra/newview/llagentlistener.cpp
index b3ed7c353e..7a8205acb5 100644
--- a/indra/newview/llagentlistener.cpp
+++ b/indra/newview/llagentlistener.cpp
@@ -53,7 +53,10 @@ void LLAgentListener::requestTeleport(LLSD const & event_data) const
}
else
{
- std::string url = LLSLURL::buildSLURL(event_data["regionname"], event_data["x"], event_data["y"], event_data["z"]);
+ std::string url = LLSLURL(event_data["regionname"],
+ LLVector3(event_data["x"].asReal(),
+ event_data["y"].asReal(),
+ event_data["z"].asReal())).getSLURLString();
LLURLDispatcher::dispatch(url, NULL, false);
}
}