Adding green dots to map response should be for root agents only
parent
a9a24062a5
commit
d3153f47fa
|
@ -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));
|
||||||
|
|
Loading…
Reference in New Issue