Merge branch 'master' into httptests

httptests
UbitUmarov 2017-05-12 01:55:15 +01:00
commit dcdc527401
1 changed files with 2 additions and 2 deletions

View File

@ -12569,11 +12569,11 @@ namespace OpenSim.Region.ClientStack.LindenUDP
}
int maxWearablesLoop = cachedtex.WearableData.Length;
if (maxWearablesLoop > cacheItems.Length)
maxWearablesLoop = cacheItems.Length;
if (cacheItems != null)
{
if (maxWearablesLoop > cacheItems.Length)
maxWearablesLoop = cacheItems.Length;
for (int i = 0; i < maxWearablesLoop; i++)
{
int idx = cachedtex.WearableData[i].TextureIndex;