Small cleanup and add more debugging information

This commit is contained in:
Master ScienceSim
2010-10-26 12:54:28 -07:00
parent 9132e251aa
commit 9cfd3e1d5a
2 changed files with 23 additions and 8 deletions

View File

@@ -351,8 +351,8 @@ namespace OpenSim.Framework
OSDArray wears = (OSDArray)(args["wearables"]);
for (int i = 0; i < wears.Count / 2; i++)
{
Appearance.Wearables[i].ItemID = wears[i*2].AsUUID();
Appearance.Wearables[i].AssetID = wears[(i*2)+1].AsUUID();
AvatarWearable awear = new AvatarWearable(wears[i*2].AsUUID(),wears[(i*2)+1].AsUUID());
Appearance.SetWearable(i,awear);
}
}