aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack
diff options
context:
space:
mode:
authorMelanie2014-01-04 21:18:37 +0000
committerMelanie2014-01-04 21:18:37 +0000
commitdd96fef9404daa2b702cc499661a350f8bba69ea (patch)
tree5523008db7d53ae61b94b6a17f7b55b5f523f3a0 /OpenSim/Region/ClientStack
parentInitialize default region size in GridRegion in the no parameter constructor (diff)
downloadopensim-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/Region/ClientStack')
-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 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;