Help big boobies to dance (avatar visualParams). May not persist and need more lobe ?

This commit is contained in:
UbitUmarov
2012-04-26 16:17:46 +01:00
parent 22ea2ef9a0
commit fd19601c6b
4 changed files with 42 additions and 18 deletions

View File

@@ -3533,7 +3533,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
AvatarAppearancePacket avp = (AvatarAppearancePacket)PacketPool.Instance.GetPacket(PacketType.AvatarAppearance);
// TODO: don't create new blocks if recycling an old packet
avp.VisualParam = new AvatarAppearancePacket.VisualParamBlock[218];
avp.VisualParam = new AvatarAppearancePacket.VisualParamBlock[visualParams.Length];
avp.ObjectData.TextureEntry = textureEntry;
AvatarAppearancePacket.VisualParamBlock avblock = null;