a few more changes to texturesentry handling on libomv and os

This commit is contained in:
UbitUmarov
2019-01-14 00:35:45 +00:00
parent 4cfcf805b3
commit 8bb644159e
7 changed files with 96 additions and 59 deletions

View File

@@ -173,6 +173,8 @@ namespace OpenSim.Framework
{
if (m_array == null)
{
if(m_dict.Count == 0)
return new TValue[0];
m_array = new TValue[m_dict.Count];
m_dict.Values.CopyTo(m_array, 0);
}