Fix bug where avatars in other regions would not always show up on the mini-map

0.7.1-dev
Justin Clark-Casey (justincc) 2011-02-24 22:33:54 +00:00
parent db7c758b7f
commit 2f5394e70d
1 changed files with 2 additions and 1 deletions

View File

@ -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)
{ {