add a extra lenght check
parent
63b0bd7f6b
commit
645c0c780d
|
@ -768,6 +768,9 @@ namespace OpenSim.Framework
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(count > m_wearables.Length)
|
||||||
|
count = m_wearables.Length;
|
||||||
|
|
||||||
wears = new OSDArray(count);
|
wears = new OSDArray(count);
|
||||||
for (int i = 0; i < count; ++i)
|
for (int i = 0; i < count; ++i)
|
||||||
wears.Add(m_wearables[i].Pack());
|
wears.Add(m_wearables[i].Pack());
|
||||||
|
|
Loading…
Reference in New Issue