diff options
author | Melanie | 2014-01-04 21:18:37 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2014-01-10 20:31:52 +0000 |
commit | 9050c152b402d0c629b7050033c4d9361fda637b (patch) | |
tree | 5cc1afcf55271df2075df53b7d67e76382ff10f8 /OpenSim | |
parent | When moving the root prim of an attachment: a) Change the attach position; b)... (diff) | |
download | opensim-SC_OLD-9050c152b402d0c629b7050033c4d9361fda637b.zip opensim-SC_OLD-9050c152b402d0c629b7050033c4d9361fda637b.tar.gz opensim-SC_OLD-9050c152b402d0c629b7050033c4d9361fda637b.tar.bz2 opensim-SC_OLD-9050c152b402d0c629b7050033c4d9361fda637b.tar.xz |
Dynamically adjust to the number of visual params sent.
Diffstat (limited to 'OpenSim')
-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 c38c829..0ebccbe 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | |||
@@ -3634,7 +3634,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
3634 | 3634 | ||
3635 | AvatarAppearancePacket avp = (AvatarAppearancePacket)PacketPool.Instance.GetPacket(PacketType.AvatarAppearance); | 3635 | AvatarAppearancePacket avp = (AvatarAppearancePacket)PacketPool.Instance.GetPacket(PacketType.AvatarAppearance); |
3636 | // TODO: don't create new blocks if recycling an old packet | 3636 | // TODO: don't create new blocks if recycling an old packet |
3637 | avp.VisualParam = new AvatarAppearancePacket.VisualParamBlock[218]; | 3637 | avp.VisualParam = new AvatarAppearancePacket.VisualParamBlock[visualParams.Length]; |
3638 | avp.ObjectData.TextureEntry = textureEntry; | 3638 | avp.ObjectData.TextureEntry = textureEntry; |
3639 | 3639 | ||
3640 | AvatarAppearancePacket.VisualParamBlock avblock = null; | 3640 | AvatarAppearancePacket.VisualParamBlock avblock = null; |