aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2012-01-24 22:16:45 +0000
committerJustin Clark-Casey (justincc)2012-01-24 22:16:45 +0000
commit8e0eaa980f567fb83a6984dd4884addd62682baa (patch)
tree9f9922280bb55f184dee99857c68dcf5bd6d4ed3 /OpenSim/Region
parentComment out asset statistics section from periodic stats as these have not be... (diff)
parentMerge branch 'master' of /home/opensim/src/opensim (diff)
downloadopensim-SC-8e0eaa980f567fb83a6984dd4884addd62682baa.zip
opensim-SC-8e0eaa980f567fb83a6984dd4884addd62682baa.tar.gz
opensim-SC-8e0eaa980f567fb83a6984dd4884addd62682baa.tar.bz2
opensim-SC-8e0eaa980f567fb83a6984dd4884addd62682baa.tar.xz
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs18
1 files changed, 18 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs b/OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs
index 9b0e2ff..2f723ef 100644
--- a/OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs
+++ b/OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs
@@ -1250,6 +1250,24 @@ namespace OpenSim.Region.CoreModules.World.WorldMap
1250 responsemap["7"] = responsearr; 1250 responsemap["7"] = responsearr;
1251 } 1251 }
1252 1252
1253 if (m_scene.RegionInfo.RegionSettings.TelehubObject != UUID.Zero)
1254 {
1255 SceneObjectPart sop = m_scene.GetSceneObjectPart(m_scene.RegionInfo.RegionSettings.TelehubObject);
1256
1257 OSDArray responsearr = new OSDArray();
1258 OSDMap responsemapdata = new OSDMap();
1259 responsemapdata["X"] = OSD.FromInteger((int)(xstart + sop.AbsolutePosition.X));
1260 responsemapdata["Y"] = OSD.FromInteger((int)(ystart + sop.AbsolutePosition.Y));
1261 // responsemapdata["Z"] = OSD.FromInteger((int)m_scene.GetGroundHeight(x,y));
1262 responsemapdata["ID"] = OSD.FromUUID(sop.UUID);
1263 responsemapdata["Name"] = OSD.FromString(sop.Name);
1264 responsemapdata["Extra"] = OSD.FromInteger(0); // color (unused)
1265 responsemapdata["Extra2"] = OSD.FromInteger(0); // 0 = telehub / 1 = infohub
1266 responsearr.Add(responsemapdata);
1267
1268 responsemap["1"] = responsearr;
1269 }
1270
1253 return responsemap; 1271 return responsemap;
1254 } 1272 }
1255 1273