aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim.RegionServer
diff options
context:
space:
mode:
authorgareth2007-04-10 02:03:47 +0000
committergareth2007-04-10 02:03:47 +0000
commit34d91c31cfd03270a2fb1c45f0c8909df4905457 (patch)
tree1bd5536399645f6b4d7013e56794df13043e1df2 /OpenSim.RegionServer
parentFixed avatar appearance not updating issue as per bug report #79 (diff)
downloadopensim-SC_OLD-34d91c31cfd03270a2fb1c45f0c8909df4905457.zip
opensim-SC_OLD-34d91c31cfd03270a2fb1c45f0c8909df4905457.tar.gz
opensim-SC_OLD-34d91c31cfd03270a2fb1c45f0c8909df4905457.tar.bz2
opensim-SC_OLD-34d91c31cfd03270a2fb1c45f0c8909df4905457.tar.xz
And now clothes update and show for all users
woohoo!
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 {