aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/Scene.cs
diff options
context:
space:
mode:
authorMW2007-08-21 18:11:45 +0000
committerMW2007-08-21 18:11:45 +0000
commit0e6f57a3038e54cb1a2f229ebaae0cf8ee05b7ea (patch)
treedaac6856dc6a72211f7eefaa27f19041d9dc7fb0 /OpenSim/Region/Environment/Scenes/Scene.cs
parentOld group is now deleted from datastore when you link groups/prims, so that t... (diff)
downloadopensim-SC-0e6f57a3038e54cb1a2f229ebaae0cf8ee05b7ea.zip
opensim-SC-0e6f57a3038e54cb1a2f229ebaae0cf8ee05b7ea.tar.gz
opensim-SC-0e6f57a3038e54cb1a2f229ebaae0cf8ee05b7ea.tar.bz2
opensim-SC-0e6f57a3038e54cb1a2f229ebaae0cf8ee05b7ea.tar.xz
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
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Scene.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/Scene.cs9
1 files changed, 9 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs
index f674ce2..cdf6788 100644
--- a/OpenSim/Region/Environment/Scenes/Scene.cs
+++ b/OpenSim/Region/Environment/Scenes/Scene.cs
@@ -883,6 +883,15 @@ namespace OpenSim.Region.Environment.Scenes
883 return false; 883 return false;
884 } 884 }
885 885
886 public void SendKillObject(uint localID)
887 {
888 List<ScenePresence> avatars = this.RequestAvatarList();
889 for (int i = 0; i < avatars.Count; i++)
890 {
891 avatars[i].ControllingClient.SendKillObject(this.m_regionHandle, localID);
892 }
893 }
894
886 public void SendAllSceneObjectsToClient(IClientAPI client) 895 public void SendAllSceneObjectsToClient(IClientAPI client)
887 { 896 {
888 foreach (EntityBase ent in Entities.Values) 897 foreach (EntityBase ent in Entities.Values)