diff options
author | Melanie | 2012-01-25 00:45:57 +0000 |
---|---|---|
committer | Melanie | 2012-01-25 00:45:57 +0000 |
commit | 427ab55058128c3cebd5ebd5e3aed93bc4337a2b (patch) | |
tree | e50bf3ef199b3aeb208ce3cabbd242e10e65c8ca /OpenSim/Region/CoreModules | |
parent | Merge branch 'master' into careminster (diff) | |
parent | Make errors reported by OpenSim when it halts because it can't find certain c... (diff) | |
download | opensim-SC_OLD-427ab55058128c3cebd5ebd5e3aed93bc4337a2b.zip opensim-SC_OLD-427ab55058128c3cebd5ebd5e3aed93bc4337a2b.tar.gz opensim-SC_OLD-427ab55058128c3cebd5ebd5e3aed93bc4337a2b.tar.bz2 opensim-SC_OLD-427ab55058128c3cebd5ebd5e3aed93bc4337a2b.tar.xz |
Merge branch 'master' into careminster
Conflicts:
OpenSim/Region/Framework/Scenes/SceneGraph.cs
Diffstat (limited to 'OpenSim/Region/CoreModules')
-rw-r--r-- | OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs | 18 |
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 7118f16..63dadb9 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 | ||