From 9080aaf9eba71293929627659b83ee77ee4f5d26 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Fri, 12 Aug 2016 04:08:19 +0100 Subject: only reissue a kill if a update is for a deleted sog root part. --- OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs index 24d92f2..2c2bcea 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs @@ -1711,11 +1711,10 @@ namespace OpenSim.Region.ClientStack.LindenUDP public void SendKillObject(List localIDs) { - // think we do need this // foreach (uint id in localIDs) // m_log.DebugFormat("[CLIENT]: Sending KillObjectPacket to {0} for {1} in {2}", Name, id, regionHandle); - // remove pending entities + // remove pending entities to reduce looping chances. lock (m_entityProps.SyncRoot) m_entityProps.Remove(localIDs); lock (m_entityUpdates.SyncRoot) @@ -4046,7 +4045,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP // Don't send updates for objects that have been marked deleted. // Instead send another kill object, because the first one may have gotten // into a race condition - if (!m_killRecord.Contains(grp.LocalId)) + if (part == grp.RootPart && !m_killRecord.Contains(grp.LocalId)) { m_killRecord.Add(grp.LocalId); maxUpdatesBytes -= 30; -- cgit v1.1