aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim.RegionServer
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim.RegionServer/world/AvatarUpdate.cs16
1 files changed, 16 insertions, 0 deletions
diff --git a/OpenSim.RegionServer/world/AvatarUpdate.cs b/OpenSim.RegionServer/world/AvatarUpdate.cs
index 2cc4ede..cfb138a 100644
--- a/OpenSim.RegionServer/world/AvatarUpdate.cs
+++ b/OpenSim.RegionServer/world/AvatarUpdate.cs
@@ -142,6 +142,22 @@ namespace OpenSim.world
142 avp.VisualParam = new AvatarAppearancePacket.VisualParamBlock[218]; 142 avp.VisualParam = new AvatarAppearancePacket.VisualParamBlock[218];
143 avp.ObjectData.TextureEntry = this.avatarAppearanceTexture.ToBytes(); 143 avp.ObjectData.TextureEntry = this.avatarAppearanceTexture.ToBytes();
144 144
145 AgentWearablesUpdatePacket aw = new AgentWearablesUpdatePacket();
146 aw.AgentData.AgentID = this.ControllingClient.AgentID;
147 aw.AgentData.SessionID = userInfo.SessionID;
148 aw.AgentData.SerialNum = (uint)(new Random()).Next();
149
150 aw.WearableData = new AgentWearablesUpdatePacket.WearableDataBlock[13];
151 AgentWearablesUpdatePacket.WearableDataBlock awb;
152 for (int i = 0; i < 13; i++)
153 {
154 awb = new AgentWearablesUpdatePacket.WearableDataBlock();
155 awb.WearableType = (byte)i;
156 awb.AssetID = this.Wearables[i].AssetID;
157 awb.ItemID = this.Wearables[i].ItemID;
158 aw.WearableData[i] = awb;
159 }
160
145 AvatarAppearancePacket.VisualParamBlock avblock = null; 161 AvatarAppearancePacket.VisualParamBlock avblock = null;
146 for (int i = 0; i < 218; i++) 162 for (int i = 0; i < 218; i++)
147 { 163 {