If we're going to discard a terse update block because it's now someone else's hud, then don't still add it to the list of blocks for the update message.

0.7.3-extended
Justin Clark-Casey (justincc) 2012-06-14 03:32:44 +01:00
parent 10ed7e3bbc
commit da3877a77d
1 changed files with 4 additions and 2 deletions

View File

@ -3818,9 +3818,10 @@ namespace OpenSim.Region.ClientStack.LindenUDP
}
else
{
// Everything else goes here
terseUpdateBlocks.Value.Add(CreateImprovedTerseBlock(update.Entity, updateFlags.HasFlag(PrimUpdateFlags.Textures)));
ImprovedTerseObjectUpdatePacket.ObjectDataBlock terseUpdateBlock
= CreateImprovedTerseBlock(update.Entity, updateFlags.HasFlag(PrimUpdateFlags.Textures));
// Everything else goes here
if (update.Entity is SceneObjectPart)
{
SceneObjectPart part = (SceneObjectPart)update.Entity;
@ -3833,6 +3834,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
continue;
}
terseUpdateBlocks.Value.Add(terseUpdateBlock);
terseUpdates.Value.Add(update);
}
}