diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs index 23c6df4..e1c02e9 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | |||
@@ -1545,12 +1545,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
1545 | OutPacket(pc, ThrottleOutPacketType.Unknown); | 1545 | OutPacket(pc, ThrottleOutPacketType.Unknown); |
1546 | } | 1546 | } |
1547 | 1547 | ||
1548 | /// <summary> | 1548 | public void SendKillObject(ulong regionHandle, uint localID) |
1549 | /// Tell the client that an object has been deleted | ||
1550 | /// </summary> | ||
1551 | /// <param name="regionHandle"></param> | ||
1552 | /// <param name="localID"></param> | ||
1553 | public void SendKiPrimitive(ulong regionHandle, uint localID) | ||
1554 | { | 1549 | { |
1555 | KillObjectPacket kill = (KillObjectPacket)PacketPool.Instance.GetPacket(PacketType.KillObject); | 1550 | KillObjectPacket kill = (KillObjectPacket)PacketPool.Instance.GetPacket(PacketType.KillObject); |
1556 | // TODO: don't create new blocks if recycling an old packet | 1551 | // TODO: don't create new blocks if recycling an old packet |
@@ -3688,7 +3683,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
3688 | if (part == null) | 3683 | if (part == null) |
3689 | { | 3684 | { |
3690 | // It's a ghost! tell the client to delete it from view. | 3685 | // It's a ghost! tell the client to delete it from view. |
3691 | simClient.SendKiPrimitive(Scene.RegionInfo.RegionHandle, | 3686 | simClient.SendKillObject(Scene.RegionInfo.RegionHandle, |
3692 | localId); | 3687 | localId); |
3693 | } | 3688 | } |
3694 | else | 3689 | else |