Same issue as previous commit.

cpu-performance
Diva Canto 2013-07-13 10:05:11 -07:00
parent ccee2959f7
commit ff4ad60207
1 changed files with 4 additions and 3 deletions

View File

@ -2694,15 +2694,16 @@ namespace OpenSim.Region.Framework.Scenes
// we created a new ScenePresence (a new child agent) in a fresh region. // we created a new ScenePresence (a new child agent) in a fresh region.
// Request info about all the (root) agents in this region // Request info about all the (root) agents in this region
// Note: This won't send data *to* other clients in that region (children don't send) // Note: This won't send data *to* other clients in that region (children don't send)
SendOtherAgentsAvatarDataToMe();
SendOtherAgentsAppearanceToMe();
EntityBase[] entities = Scene.Entities.GetEntities(); EntityBase[] entities = Scene.Entities.GetEntities();
foreach(EntityBase e in entities) foreach(EntityBase e in entities)
{ {
if (e != null && e is SceneObjectGroup) if (e != null && e is SceneObjectGroup)
((SceneObjectGroup)e).SendFullUpdateToClient(ControllingClient); ((SceneObjectGroup)e).SendFullUpdateToClient(ControllingClient);
} }
SendOtherAgentsAvatarDataToMe();
SendOtherAgentsAppearanceToMe();
}); });
} }