We already have a record of killed prims. It just wasn't used by the new

JHurlicane code anymore. Use it to prevent sending updates after kills.
This commit is contained in:
Melanie Thielker
2010-08-05 18:50:17 +02:00
parent 05520d676c
commit 8bdbcda2b7
2 changed files with 18 additions and 0 deletions

View File

@@ -3514,6 +3514,15 @@ namespace OpenSim.Region.ClientStack.LindenUDP
EntityUpdate update;
while (updatesThisCall < maxUpdates && m_entityUpdates.TryDequeue(out update))
{
// If we have sent a kill packet for this object
// drop any updates on the floor
if (update.Entity is SceneObjectPart)
{
SceneObjectPart part = (SceneObjectPart)update.Entity;
if (m_killRecord.Contains(part.ParentGroup.RootPart.LocalId))
continue;
}
++updatesThisCall;
#region UpdateFlags to packet type conversion