diff options
author | Melanie | 2014-01-04 21:18:37 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2014-01-24 18:27:37 +0000 |
commit | 12c2b3e9832af708d29e347b564be3587446b130 (patch) | |
tree | 434f396a43ad19a75c640ee510ae4b35383ba153 | |
parent | Added support for attachments to group notices when using Flotsam groups. (diff) | |
download | opensim-SC_OLD-12c2b3e9832af708d29e347b564be3587446b130.zip opensim-SC_OLD-12c2b3e9832af708d29e347b564be3587446b130.tar.gz opensim-SC_OLD-12c2b3e9832af708d29e347b564be3587446b130.tar.bz2 opensim-SC_OLD-12c2b3e9832af708d29e347b564be3587446b130.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 967fa44..2600c00 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | |||
@@ -3530,7 +3530,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
3530 | 3530 | ||
3531 | AvatarAppearancePacket avp = (AvatarAppearancePacket)PacketPool.Instance.GetPacket(PacketType.AvatarAppearance); | 3531 | AvatarAppearancePacket avp = (AvatarAppearancePacket)PacketPool.Instance.GetPacket(PacketType.AvatarAppearance); |
3532 | // TODO: don't create new blocks if recycling an old packet | 3532 | // TODO: don't create new blocks if recycling an old packet |
3533 | avp.VisualParam = new AvatarAppearancePacket.VisualParamBlock[218]; | 3533 | avp.VisualParam = new AvatarAppearancePacket.VisualParamBlock[visualParams.Length]; |
3534 | avp.ObjectData.TextureEntry = textureEntry; | 3534 | avp.ObjectData.TextureEntry = textureEntry; |
3535 | 3535 | ||
3536 | AvatarAppearancePacket.VisualParamBlock avblock = null; | 3536 | AvatarAppearancePacket.VisualParamBlock avblock = null; |