Adding green dots to map response should be for root agents only

remove-scene-viewer
Dan Lake 2011-10-31 15:20:57 -07:00
parent a9a24062a5
commit d3153f47fa
1 changed files with 1 additions and 1 deletions

View File

@ -1180,7 +1180,7 @@ namespace OpenSim.Region.CoreModules.World.WorldMap
else else
{ {
OSDArray responsearr = new OSDArray(m_scene.GetRootAgentCount()); OSDArray responsearr = new OSDArray(m_scene.GetRootAgentCount());
m_scene.ForEachScenePresence(delegate(ScenePresence sp) m_scene.ForEachRootScenePresence(delegate(ScenePresence sp)
{ {
OSDMap responsemapdata = new OSDMap(); OSDMap responsemapdata = new OSDMap();
responsemapdata["X"] = OSD.FromInteger((int)(xstart + sp.AbsolutePosition.X)); responsemapdata["X"] = OSD.FromInteger((int)(xstart + sp.AbsolutePosition.X));