aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/MapAndArray.cs
diff options
context:
space:
mode:
authorUbitUmarov2019-01-14 00:35:45 +0000
committerUbitUmarov2019-01-14 00:35:45 +0000
commit8bb644159efc3a45502208208f8da1b3b8daefa2 (patch)
tree91f6cfd79000a008454092d5666fc3d3178a28ca /OpenSim/Framework/MapAndArray.cs
parentmantis 8448: remove silly typos from libomv (diff)
downloadopensim-SC-8bb644159efc3a45502208208f8da1b3b8daefa2.zip
opensim-SC-8bb644159efc3a45502208208f8da1b3b8daefa2.tar.gz
opensim-SC-8bb644159efc3a45502208208f8da1b3b8daefa2.tar.bz2
opensim-SC-8bb644159efc3a45502208208f8da1b3b8daefa2.tar.xz
a few more changes to texturesentry handling on libomv and os
Diffstat (limited to 'OpenSim/Framework/MapAndArray.cs')
-rw-r--r--OpenSim/Framework/MapAndArray.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Framework/MapAndArray.cs b/OpenSim/Framework/MapAndArray.cs
index 41874d0..e6b2800 100644
--- a/OpenSim/Framework/MapAndArray.cs
+++ b/OpenSim/Framework/MapAndArray.cs
@@ -173,6 +173,8 @@ namespace OpenSim.Framework
173 { 173 {
174 if (m_array == null) 174 if (m_array == null)
175 { 175 {
176 if(m_dict.Count == 0)
177 return new TValue[0];
176 m_array = new TValue[m_dict.Count]; 178 m_array = new TValue[m_dict.Count];
177 m_dict.Values.CopyTo(m_array, 0); 179 m_dict.Values.CopyTo(m_array, 0);
178 } 180 }