From e901c8be17d5d1d663253b9f3c37193d343075ca Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Thu, 30 Apr 2009 15:26:37 +0000 Subject: [PATCH] Thank you, mpallari, for a patch that correct the behavior of the avatar performance patch. Fixes Mantis #3562 --- OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs index ada5d1071f..29ff86bc76 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs @@ -2746,13 +2746,11 @@ namespace OpenSim.Region.ClientStack.LindenUDP private void ProcessAvatarTerseUpdates(object sender, ElapsedEventArgs e) { - Dictionary dataBlocks = null; - lock (m_terseUpdates) { ImprovedTerseObjectUpdatePacket terse = (ImprovedTerseObjectUpdatePacket)PacketPool.Instance.GetPacket(PacketType.ImprovedTerseObjectUpdate); terse.RegionData.RegionHandle = Scene.RegionInfo.RegionHandle; - terse.ObjectData = new ImprovedTerseObjectUpdatePacket.ObjectDataBlock[dataBlocks.Count]; + terse.ObjectData = new ImprovedTerseObjectUpdatePacket.ObjectDataBlock[m_terseUpdates.Count]; int i = 0; foreach (KeyValuePair dbe in m_terseUpdates)