aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-10-14 14:43:46 +0000
committerJustin Clarke Casey2008-10-14 14:43:46 +0000
commit3b9400bceaa9389489951b31322204bb26cab076 (patch)
treec818f31ef12f973e15502ec1d0eb8b8c7bd97738 /OpenSim/Region/Environment/Scenes
parent* Make KillObjectPackets reliable (diff)
downloadopensim-SC_OLD-3b9400bceaa9389489951b31322204bb26cab076.zip
opensim-SC_OLD-3b9400bceaa9389489951b31322204bb26cab076.tar.gz
opensim-SC_OLD-3b9400bceaa9389489951b31322204bb26cab076.tar.bz2
opensim-SC_OLD-3b9400bceaa9389489951b31322204bb26cab076.tar.xz
* refactor: rename SendKiPrimitive to SendKillObject since this appears more descriptive of what it actually does
Diffstat (limited to 'OpenSim/Region/Environment/Scenes')
-rw-r--r--OpenSim/Region/Environment/Scenes/Scene.cs10
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs6
-rw-r--r--OpenSim/Region/Environment/Scenes/ScenePresence.cs2
3 files changed, 9 insertions, 9 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs
index b69520c..e95b1d7 100644
--- a/OpenSim/Region/Environment/Scenes/Scene.cs
+++ b/OpenSim/Region/Environment/Scenes/Scene.cs
@@ -2516,7 +2516,7 @@ namespace OpenSim.Region.Environment.Scenes
2516 { 2516 {
2517 try 2517 try
2518 { 2518 {
2519 client.SendKiPrimitive(avatar.RegionHandle, avatar.LocalId); 2519 client.SendKillObject(avatar.RegionHandle, avatar.LocalId);
2520 } 2520 }
2521 catch (NullReferenceException) 2521 catch (NullReferenceException)
2522 { 2522 {
@@ -2589,7 +2589,7 @@ namespace OpenSim.Region.Environment.Scenes
2589 2589
2590 #region Entities 2590 #region Entities
2591 2591
2592 public void SendKiPrimitive(uint localID) 2592 public void SendKillObject(uint localID)
2593 { 2593 {
2594 SceneObjectPart part = GetSceneObjectPart(localID); 2594 SceneObjectPart part = GetSceneObjectPart(localID);
2595 if (part != null) // It is a prim 2595 if (part != null) // It is a prim
@@ -2600,7 +2600,7 @@ namespace OpenSim.Region.Environment.Scenes
2600 return; 2600 return;
2601 } 2601 }
2602 } 2602 }
2603 Broadcast(delegate(IClientAPI client) { client.SendKiPrimitive(m_regionHandle, localID); }); 2603 Broadcast(delegate(IClientAPI client) { client.SendKillObject(m_regionHandle, localID); });
2604 } 2604 }
2605 2605
2606 #endregion 2606 #endregion
@@ -2620,7 +2620,7 @@ namespace OpenSim.Region.Environment.Scenes
2620 m_sceneGridService.OnExpectPrim += IncomingInterRegionPrimGroup; 2620 m_sceneGridService.OnExpectPrim += IncomingInterRegionPrimGroup;
2621 m_sceneGridService.OnRemoveKnownRegionFromAvatar += HandleRemoveKnownRegionsFromAvatar; 2621 m_sceneGridService.OnRemoveKnownRegionFromAvatar += HandleRemoveKnownRegionsFromAvatar;
2622 m_sceneGridService.OnLogOffUser += HandleLogOffUserFromGrid; 2622 m_sceneGridService.OnLogOffUser += HandleLogOffUserFromGrid;
2623 m_sceneGridService.KiPrimitive += SendKiPrimitive; 2623 m_sceneGridService.KiPrimitive += SendKillObject;
2624 m_sceneGridService.OnGetLandData += GetLandData; 2624 m_sceneGridService.OnGetLandData += GetLandData;
2625 } 2625 }
2626 2626
@@ -2629,7 +2629,7 @@ namespace OpenSim.Region.Environment.Scenes
2629 /// </summary> 2629 /// </summary>
2630 public void UnRegisterRegionWithComms() 2630 public void UnRegisterRegionWithComms()
2631 { 2631 {
2632 m_sceneGridService.KiPrimitive -= SendKiPrimitive; 2632 m_sceneGridService.KiPrimitive -= SendKillObject;
2633 m_sceneGridService.OnLogOffUser -= HandleLogOffUserFromGrid; 2633 m_sceneGridService.OnLogOffUser -= HandleLogOffUserFromGrid;
2634 m_sceneGridService.OnRemoveKnownRegionFromAvatar -= HandleRemoveKnownRegionsFromAvatar; 2634 m_sceneGridService.OnRemoveKnownRegionFromAvatar -= HandleRemoveKnownRegionsFromAvatar;
2635 m_sceneGridService.OnExpectPrim -= IncomingInterRegionPrimGroup; 2635 m_sceneGridService.OnExpectPrim -= IncomingInterRegionPrimGroup;
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
index 2c3e767..37f3caf 100644
--- a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
@@ -750,7 +750,7 @@ namespace OpenSim.Region.Environment.Scenes
750 // 750 //
751 if (IsSelected) 751 if (IsSelected)
752 { 752 {
753 m_scene.SendKiPrimitive(m_rootPart.LocalId); 753 m_scene.SendKillObject(m_rootPart.LocalId);
754 } 754 }
755 755
756 IsSelected = false; // fudge.... 756 IsSelected = false; // fudge....
@@ -985,7 +985,7 @@ namespace OpenSim.Region.Environment.Scenes
985 } 985 }
986 986
987 if (m_rootPart != null && part == m_rootPart) 987 if (m_rootPart != null && part == m_rootPart)
988 avatars[i].ControllingClient.SendKiPrimitive(m_regionHandle, part.LocalId); 988 avatars[i].ControllingClient.SendKillObject(m_regionHandle, part.LocalId);
989 } 989 }
990 } 990 }
991 991
@@ -1011,7 +1011,7 @@ namespace OpenSim.Region.Environment.Scenes
1011 } 1011 }
1012 1012
1013 if (m_rootPart != null && part == m_rootPart) 1013 if (m_rootPart != null && part == m_rootPart)
1014 avatars[i].ControllingClient.SendKiPrimitive(m_regionHandle, part.LocalId); 1014 avatars[i].ControllingClient.SendKillObject(m_regionHandle, part.LocalId);
1015 } 1015 }
1016 } 1016 }
1017 } 1017 }
diff --git a/OpenSim/Region/Environment/Scenes/ScenePresence.cs b/OpenSim/Region/Environment/Scenes/ScenePresence.cs
index 8120c62..963c71b 100644
--- a/OpenSim/Region/Environment/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Environment/Scenes/ScenePresence.cs
@@ -2068,7 +2068,7 @@ namespace OpenSim.Region.Environment.Scenes
2068 2068
2069 CrossAttachmentsIntoNewRegion(neighbourHandle); 2069 CrossAttachmentsIntoNewRegion(neighbourHandle);
2070 2070
2071 m_scene.SendKiPrimitive(m_localId); 2071 m_scene.SendKillObject(m_localId);
2072 2072
2073 m_scene.NotifyMyCoarseLocationChange(); 2073 m_scene.NotifyMyCoarseLocationChange();
2074 // the user may change their profile information in other region, 2074 // the user may change their profile information in other region,