SL-12660 Hide top level domain name and IP address for simulators
parent
eeaeb57dde
commit
0f948988b8
|
|
@ -866,9 +866,7 @@ void LLAgent::setRegion(LLViewerRegion *regionp)
|
|||
if (mRegionp != regionp)
|
||||
{
|
||||
|
||||
std::string ip = regionp->getHost().getString();
|
||||
LL_INFOS("AgentLocation") << "Moving agent into region: " << regionp->getName()
|
||||
<< " located at " << ip << LL_ENDL;
|
||||
LL_INFOS("AgentLocation") << "Moving agent into region: " << regionp->getName() << LL_ENDL;
|
||||
if (mRegionp)
|
||||
{
|
||||
// We've changed regions, we're now going to change our agent coordinate frame.
|
||||
|
|
|
|||
|
|
@ -3118,8 +3118,9 @@ LLSD LLAppViewer::getViewerInfo() const
|
|||
info["POSITION"] = ll_sd_from_vector3d(pos);
|
||||
info["POSITION_LOCAL"] = ll_sd_from_vector3(gAgent.getPosAgentFromGlobal(pos));
|
||||
info["REGION"] = gAgent.getRegion()->getName();
|
||||
info["HOSTNAME"] = gAgent.getRegion()->getHost().getHostName();
|
||||
info["HOSTIP"] = gAgent.getRegion()->getHost().getString();
|
||||
|
||||
boost::regex regex("sim[0-9]*.");
|
||||
info["HOSTNAME"] = boost::regex_replace(gAgent.getRegion()->getHost().getHostName(), regex, "");
|
||||
info["SERVER_VERSION"] = gLastVersionChannel;
|
||||
LLSLURL slurl;
|
||||
LLAgentUI::buildSLURL(slurl);
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@
|
|||
<string name="BuildConfig">Build Configuration [BUILD_CONFIG]</string>
|
||||
|
||||
<string name="AboutPosition">
|
||||
You are at [POSITION_LOCAL_0,number,1], [POSITION_LOCAL_1,number,1], [POSITION_LOCAL_2,number,1] in [REGION] located at <nolink>[HOSTNAME]</nolink> ([HOSTIP])
|
||||
You are at [POSITION_LOCAL_0,number,1], [POSITION_LOCAL_1,number,1], [POSITION_LOCAL_2,number,1] in [REGION] located at <nolink>[HOSTNAME]</nolink>
|
||||
SLURL: <nolink>[SLURL]</nolink>
|
||||
(global coordinates [POSITION_0,number,1], [POSITION_1,number,1], [POSITION_2,number,1])
|
||||
[SERVER_VERSION]
|
||||
|
|
|
|||
Loading…
Reference in New Issue