fix another variable number of wearable types issue

LSLKeyTest
UbitUmarov 2015-11-18 17:35:26 +00:00
parent 0fbb4f0067
commit 6dafce9a12
1 changed files with 5 additions and 2 deletions

View File

@ -870,8 +870,11 @@ namespace OpenSim.Region.CoreModules.Avatar.AvatarFactory
} }
// Ignore ruth's assets // Ignore ruth's assets
if (i < AvatarWearable.DefaultWearables.Length)
{
if (appearance.Wearables[i][j].ItemID == AvatarWearable.DefaultWearables[i][0].ItemID) if (appearance.Wearables[i][j].ItemID == AvatarWearable.DefaultWearables[i][0].ItemID)
continue; continue;
}
InventoryItemBase baseItem = new InventoryItemBase(appearance.Wearables[i][j].ItemID, userID); InventoryItemBase baseItem = new InventoryItemBase(appearance.Wearables[i][j].ItemID, userID);
baseItem = invService.GetItem(baseItem); baseItem = invService.GetItem(baseItem);