Merge branch 'master' into avinationmerge

Conflicts:
	OpenSim/Framework/AvatarAppearance.cs
This commit is contained in:
Melanie Thielker
2015-11-16 15:28:51 +01:00
2 changed files with 12 additions and 5 deletions

View File

@@ -490,7 +490,14 @@ namespace OpenSim.Framework
m_wearables[i] = new AvatarWearable();
}
m_wearables[wearableId].Clear();
<<<<<<< HEAD
for (int i = 0; i < wearable.Count; i++)
=======
int count = wearable.Count;
if (count > AvatarWearable.MAX_WEARABLES)
count = AvatarWearable.MAX_WEARABLES;
for (int i = 0; i < count; i++)
>>>>>>> master
m_wearables[wearableId].Add(wearable[i].ItemID, wearable[i].AssetID);
}