Hopefully fixed the problem of users avatars not always showing up when either you or another user has crossed from one region to another. (however a avatar's appearance isn't kept across regions, but we need to add that to inter-regions communications so for now people will have to put up with some other user's avatars appearing as the bald(ish) fat man

This commit is contained in:
MW
2007-08-21 18:11:45 +00:00
parent 249826893d
commit 0e6f57a303
2 changed files with 19 additions and 6 deletions

View File

@@ -883,6 +883,15 @@ namespace OpenSim.Region.Environment.Scenes
return false;
}
public void SendKillObject(uint localID)
{
List<ScenePresence> avatars = this.RequestAvatarList();
for (int i = 0; i < avatars.Count; i++)
{
avatars[i].ControllingClient.SendKillObject(this.m_regionHandle, localID);
}
}
public void SendAllSceneObjectsToClient(IClientAPI client)
{
foreach (EntityBase ent in Entities.Values)