aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tests
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2011-09-09 00:47:23 +0100
committerJustin Clark-Casey (justincc)2011-09-09 00:47:23 +0100
commit42790f021fd5d69ba10ac02d158681f3d299da80 (patch)
tree392382b44126df9304861591047c08df0da35fe2 /OpenSim/Tests
parentSave the default terrain texture UUIDs for a new region instead of leaving th... (diff)
downloadopensim-SC-42790f021fd5d69ba10ac02d158681f3d299da80.zip
opensim-SC-42790f021fd5d69ba10ac02d158681f3d299da80.tar.gz
opensim-SC-42790f021fd5d69ba10ac02d158681f3d299da80.tar.bz2
opensim-SC-42790f021fd5d69ba10ac02d158681f3d299da80.tar.xz
Fix unit tests from RegionSettings commit
Diffstat (limited to 'OpenSim/Tests')
-rw-r--r--OpenSim/Tests/Common/Mock/MockRegionDataPlugin.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Tests/Common/Mock/MockRegionDataPlugin.cs b/OpenSim/Tests/Common/Mock/MockRegionDataPlugin.cs
index 2ea36da..79bb9c2 100644
--- a/OpenSim/Tests/Common/Mock/MockRegionDataPlugin.cs
+++ b/OpenSim/Tests/Common/Mock/MockRegionDataPlugin.cs
@@ -163,6 +163,10 @@ namespace OpenSim.Data.Null
163 { 163 {
164 RegionSettings rs = null; 164 RegionSettings rs = null;
165 m_regionSettings.TryGetValue(regionUUID, out rs); 165 m_regionSettings.TryGetValue(regionUUID, out rs);
166
167 if (rs == null)
168 rs = new RegionSettings();
169
166 return rs; 170 return rs;
167 } 171 }
168 172