diff options
Merge branch 'master' into bigmerge
Conflicts:
OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs
OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs
OpenSim/Region/Framework/Scenes/AsyncSceneObjectGroupDeleter.cs
OpenSim/Region/Framework/Scenes/Scene.cs
OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index 962e5e1..e668790 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -3230,7 +3230,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
3230 | delegate(IClientAPI client) | 3230 | delegate(IClientAPI client) |
3231 | { | 3231 | { |
3232 | //We can safely ignore null reference exceptions. It means the avatar is dead and cleaned up anyway | 3232 | //We can safely ignore null reference exceptions. It means the avatar is dead and cleaned up anyway |
3233 | try { client.SendKillObject(avatar.RegionHandle, new List<uint>() { avatar.LocalId}); } | 3233 | try { client.SendKillObject(avatar.RegionHandle, new List<uint> { avatar.LocalId }); } |
3234 | catch (NullReferenceException) { } | 3234 | catch (NullReferenceException) { } |
3235 | }); | 3235 | }); |
3236 | 3236 | ||
@@ -3310,11 +3310,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
3310 | } | 3310 | } |
3311 | deleteIDs.Add(localID); | 3311 | deleteIDs.Add(localID); |
3312 | } | 3312 | } |
3313 | 3313 | ForEachClient(delegate(IClientAPI client) { client.SendKillObject(m_regionHandle, deleteIDs); }); | |
3314 | ForEachClient(delegate(IClientAPI client) | ||
3315 | { | ||
3316 | client.SendKillObject(m_regionHandle, deleteIDs); | ||
3317 | }); | ||
3318 | } | 3314 | } |
3319 | 3315 | ||
3320 | #endregion | 3316 | #endregion |