mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 09:45:47 +08:00
Dynamically adjust to the number of visual params sent.
This commit is contained in:
committed by
Justin Clark-Casey (justincc)
parent
da47bcae3e
commit
9050c152b4
@@ -3634,7 +3634,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;
|
||||
|
||||
Reference in New Issue
Block a user