mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 17:05:55 +08:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user