Fix bug where avatars in other regions would not always show up on the mini-map
parent
db7c758b7f
commit
2f5394e70d
|
@ -204,9 +204,10 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
for (int i = 0; i < Math.Min(presences.Count, maxLocations); ++i)
|
for (int i = 0; i < Math.Min(presences.Count, maxLocations); ++i)
|
||||||
{
|
{
|
||||||
ScenePresence sp = presences[i];
|
ScenePresence sp = presences[i];
|
||||||
|
|
||||||
// If this presence is a child agent, we don't want its coarse locations
|
// If this presence is a child agent, we don't want its coarse locations
|
||||||
if (sp.IsChildAgent)
|
if (sp.IsChildAgent)
|
||||||
return;
|
continue;
|
||||||
|
|
||||||
if (sp.ParentID != 0)
|
if (sp.ParentID != 0)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue