diff options
author | Melanie Thielker | 2009-04-30 15:26:37 +0000 |
---|---|---|
committer | Melanie Thielker | 2009-04-30 15:26:37 +0000 |
commit | e901c8be17d5d1d663253b9f3c37193d343075ca (patch) | |
tree | ce30d5aa2da351da41a109669b8677bb67601d78 /OpenSim/Region | |
parent | Fixed a bug in the permissions module, where if there were multiple admins, t... (diff) | |
download | opensim-SC_OLD-e901c8be17d5d1d663253b9f3c37193d343075ca.zip opensim-SC_OLD-e901c8be17d5d1d663253b9f3c37193d343075ca.tar.gz opensim-SC_OLD-e901c8be17d5d1d663253b9f3c37193d343075ca.tar.bz2 opensim-SC_OLD-e901c8be17d5d1d663253b9f3c37193d343075ca.tar.xz |
Thank you, mpallari, for a patch that correct the behavior of the avatar
performance patch.
Fixes Mantis #3562
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs index ada5d10..29ff86b 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | |||
@@ -2746,13 +2746,11 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
2746 | 2746 | ||
2747 | private void ProcessAvatarTerseUpdates(object sender, ElapsedEventArgs e) | 2747 | private void ProcessAvatarTerseUpdates(object sender, ElapsedEventArgs e) |
2748 | { | 2748 | { |
2749 | Dictionary<uint, ImprovedTerseObjectUpdatePacket.ObjectDataBlock> dataBlocks = null; | ||
2750 | |||
2751 | lock (m_terseUpdates) | 2749 | lock (m_terseUpdates) |
2752 | { | 2750 | { |
2753 | ImprovedTerseObjectUpdatePacket terse = (ImprovedTerseObjectUpdatePacket)PacketPool.Instance.GetPacket(PacketType.ImprovedTerseObjectUpdate); | 2751 | ImprovedTerseObjectUpdatePacket terse = (ImprovedTerseObjectUpdatePacket)PacketPool.Instance.GetPacket(PacketType.ImprovedTerseObjectUpdate); |
2754 | terse.RegionData.RegionHandle = Scene.RegionInfo.RegionHandle; | 2752 | terse.RegionData.RegionHandle = Scene.RegionInfo.RegionHandle; |
2755 | terse.ObjectData = new ImprovedTerseObjectUpdatePacket.ObjectDataBlock[dataBlocks.Count]; | 2753 | terse.ObjectData = new ImprovedTerseObjectUpdatePacket.ObjectDataBlock[m_terseUpdates.Count]; |
2756 | 2754 | ||
2757 | int i = 0; | 2755 | int i = 0; |
2758 | foreach (KeyValuePair<uint, ImprovedTerseObjectUpdatePacket.ObjectDataBlock> dbe in m_terseUpdates) | 2756 | foreach (KeyValuePair<uint, ImprovedTerseObjectUpdatePacket.ObjectDataBlock> dbe in m_terseUpdates) |