aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorDan Lake2011-10-31 15:20:57 -0700
committerDan Lake2011-10-31 15:20:57 -0700
commitd3153f47fa3faebc139e6e58161dc46049d323f1 (patch)
tree4ec29caac9da4328d7730e4f66aa0f572d25e397 /OpenSim
parentPlug a security hole in the inventory service (diff)
downloadopensim-SC_OLD-d3153f47fa3faebc139e6e58161dc46049d323f1.zip
opensim-SC_OLD-d3153f47fa3faebc139e6e58161dc46049d323f1.tar.gz
opensim-SC_OLD-d3153f47fa3faebc139e6e58161dc46049d323f1.tar.bz2
opensim-SC_OLD-d3153f47fa3faebc139e6e58161dc46049d323f1.tar.xz
Adding green dots to map response should be for root agents only
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs b/OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs
index 509c0d8..00d7d55 100644
--- a/OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs
+++ b/OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs
@@ -1180,7 +1180,7 @@ namespace OpenSim.Region.CoreModules.World.WorldMap
1180 else 1180 else
1181 { 1181 {
1182 OSDArray responsearr = new OSDArray(m_scene.GetRootAgentCount()); 1182 OSDArray responsearr = new OSDArray(m_scene.GetRootAgentCount());
1183 m_scene.ForEachScenePresence(delegate(ScenePresence sp) 1183 m_scene.ForEachRootScenePresence(delegate(ScenePresence sp)
1184 { 1184 {
1185 OSDMap responsemapdata = new OSDMap(); 1185 OSDMap responsemapdata = new OSDMap();
1186 responsemapdata["X"] = OSD.FromInteger((int)(xstart + sp.AbsolutePosition.X)); 1186 responsemapdata["X"] = OSD.FromInteger((int)(xstart + sp.AbsolutePosition.X));