diff options
author | Melanie | 2014-01-04 21:18:37 +0000 |
---|---|---|
committer | Melanie | 2014-01-04 21:18:37 +0000 |
commit | dd96fef9404daa2b702cc499661a350f8bba69ea (patch) | |
tree | 5523008db7d53ae61b94b6a17f7b55b5f523f3a0 /OpenSim | |
parent | Initialize default region size in GridRegion in the no parameter constructor (diff) | |
download | opensim-SC_OLD-dd96fef9404daa2b702cc499661a350f8bba69ea.zip opensim-SC_OLD-dd96fef9404daa2b702cc499661a350f8bba69ea.tar.gz opensim-SC_OLD-dd96fef9404daa2b702cc499661a350f8bba69ea.tar.bz2 opensim-SC_OLD-dd96fef9404daa2b702cc499661a350f8bba69ea.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 6cb7332..1d65136 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; |