diff options
author | Justin Clark-Casey (justincc) | 2011-02-24 22:33:54 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-02-24 22:33:54 +0000 |
commit | 2f5394e70ddefb5e7ec6a04022eef42a8ac89b0d (patch) | |
tree | abdb9386b539a935bc77b7b5e0987e0f5f0c3a58 /OpenSim/Region/Framework/Scenes | |
parent | On a Grid Handler exception, explicitly log the exception message and stack t... (diff) | |
download | opensim-SC-2f5394e70ddefb5e7ec6a04022eef42a8ac89b0d.zip opensim-SC-2f5394e70ddefb5e7ec6a04022eef42a8ac89b0d.tar.gz opensim-SC-2f5394e70ddefb5e7ec6a04022eef42a8ac89b0d.tar.bz2 opensim-SC-2f5394e70ddefb5e7ec6a04022eef42a8ac89b0d.tar.xz |
Fix bug where avatars in other regions would not always show up on the mini-map
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneGraph.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneGraph.cs b/OpenSim/Region/Framework/Scenes/SceneGraph.cs index 969ff13..734ba22 100644 --- a/OpenSim/Region/Framework/Scenes/SceneGraph.cs +++ b/OpenSim/Region/Framework/Scenes/SceneGraph.cs | |||
@@ -204,9 +204,10 @@ namespace OpenSim.Region.Framework.Scenes | |||
204 | for (int i = 0; i < Math.Min(presences.Count, maxLocations); ++i) | 204 | for (int i = 0; i < Math.Min(presences.Count, maxLocations); ++i) |
205 | { | 205 | { |
206 | ScenePresence sp = presences[i]; | 206 | ScenePresence sp = presences[i]; |
207 | |||
207 | // If this presence is a child agent, we don't want its coarse locations | 208 | // If this presence is a child agent, we don't want its coarse locations |
208 | if (sp.IsChildAgent) | 209 | if (sp.IsChildAgent) |
209 | return; | 210 | continue; |
210 | 211 | ||
211 | if (sp.ParentID != 0) | 212 | if (sp.ParentID != 0) |
212 | { | 213 | { |