aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Scene.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2013-05-09 18:12:17 +0100
committerJustin Clark-Casey (justincc)2013-05-09 18:12:17 +0100
commit3290cd09d3ecd45c52bd131ada2a793c48fd99dc (patch)
tree5ed37bddcf917762d035bc3f3f6a1c4f064e4957 /OpenSim/Region/Framework/Scenes/Scene.cs
parentFix issue where objects removed via llDie() would not disappear for users loo... (diff)
downloadopensim-SC_OLD-3290cd09d3ecd45c52bd131ada2a793c48fd99dc.zip
opensim-SC_OLD-3290cd09d3ecd45c52bd131ada2a793c48fd99dc.tar.gz
opensim-SC_OLD-3290cd09d3ecd45c52bd131ada2a793c48fd99dc.tar.bz2
opensim-SC_OLD-3290cd09d3ecd45c52bd131ada2a793c48fd99dc.tar.xz
remove pointless region handle paramter from IClientAPI.SendKillObject()
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index 2aba2dd..8cdde3f 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -3480,7 +3480,7 @@ namespace OpenSim.Region.Framework.Scenes
3480 delegate(IClientAPI client) 3480 delegate(IClientAPI client)
3481 { 3481 {
3482 //We can safely ignore null reference exceptions. It means the avatar is dead and cleaned up anyway 3482 //We can safely ignore null reference exceptions. It means the avatar is dead and cleaned up anyway
3483 try { client.SendKillObject(avatar.RegionHandle, new List<uint> { avatar.LocalId }); } 3483 try { client.SendKillObject(new List<uint> { avatar.LocalId }); }
3484 catch (NullReferenceException) { } 3484 catch (NullReferenceException) { }
3485 }); 3485 });
3486 } 3486 }
@@ -3560,7 +3560,8 @@ namespace OpenSim.Region.Framework.Scenes
3560 } 3560 }
3561 deleteIDs.Add(localID); 3561 deleteIDs.Add(localID);
3562 } 3562 }
3563 ForEachClient(delegate(IClientAPI client) { client.SendKillObject(m_regionHandle, deleteIDs); }); 3563
3564 ForEachClient(c => c.SendKillObject(deleteIDs));
3564 } 3565 }
3565 3566
3566 #endregion 3567 #endregion