diff options
author | Melanie | 2014-01-04 21:18:37 +0000 |
---|---|---|
committer | Melanie | 2014-01-05 19:50:51 +0000 |
commit | 3ab559efa9b76c9738a1a712021e81466252388f (patch) | |
tree | 6d7382b17d495469f29b962a4af0e0910daebf79 | |
parent | Merge branch '0.7.6-post-fixes' of ssh://opensimulator.org/var/git/opensim in... (diff) | |
download | opensim-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.cs | 2 |
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; |