aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorMelanie2014-01-04 21:18:37 +0000
committerMelanie2014-01-05 19:50:51 +0000
commit3ab559efa9b76c9738a1a712021e81466252388f (patch)
tree6d7382b17d495469f29b962a4af0e0910daebf79
parentMerge branch '0.7.6-post-fixes' of ssh://opensimulator.org/var/git/opensim in... (diff)
downloadopensim-SC_OLD-3ab559efa9b76c9738a1a712021e81466252388f.zip
opensim-SC_OLD-3ab559efa9b76c9738a1a712021e81466252388f.tar.gz
opensim-SC_OLD-3ab559efa9b76c9738a1a712021e81466252388f.tar.bz2
opensim-SC_OLD-3ab559efa9b76c9738a1a712021e81466252388f.tar.xz
Dynamically adjust to the number of visual params sent.
-rw-r--r--OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
index c27e613..0b8aceb 100644
--- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
+++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
@@ -3631,7 +3631,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
3631 3631
3632 AvatarAppearancePacket avp = (AvatarAppearancePacket)PacketPool.Instance.GetPacket(PacketType.AvatarAppearance); 3632 AvatarAppearancePacket avp = (AvatarAppearancePacket)PacketPool.Instance.GetPacket(PacketType.AvatarAppearance);
3633 // TODO: don't create new blocks if recycling an old packet 3633 // TODO: don't create new blocks if recycling an old packet
3634 avp.VisualParam = new AvatarAppearancePacket.VisualParamBlock[218]; 3634 avp.VisualParam = new AvatarAppearancePacket.VisualParamBlock[visualParams.Length];
3635 avp.ObjectData.TextureEntry = textureEntry; 3635 avp.ObjectData.TextureEntry = textureEntry;
3636 3636
3637 AvatarAppearancePacket.VisualParamBlock avblock = null; 3637 AvatarAppearancePacket.VisualParamBlock avblock = null;