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.4.1
Justin Clark-Casey (justincc) 2012-06-14 03:32:44 +01:00
parent 1aa7469253
commit 3888b9a670
1 changed files with 4 additions and 2 deletions

View File

@ -3828,9 +3828,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;
@ -3843,6 +3844,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
continue;
}
terseUpdateBlocks.Value.Add(terseUpdateBlock);
terseUpdates.Value.Add(update);
}
}