Fix unit tests from RegionSettings commit

remove-scene-viewer
Justin Clark-Casey (justincc) 2011-09-09 00:47:23 +01:00
parent 086bf9f15d
commit 42790f021f
2 changed files with 8 additions and 0 deletions

View File

@ -59,19 +59,23 @@ namespace OpenSim.Data.Null
public void StoreRegionSettings(RegionSettings rs)
{
}
public RegionLightShareData LoadRegionWindlightSettings(UUID regionUUID)
{
//This connector doesn't support the windlight module yet
//Return default LL windlight settings
return new RegionLightShareData();
}
public void RemoveRegionWindlightSettings(UUID regionID)
{
}
public void StoreRegionWindlightSettings(RegionLightShareData wl)
{
//This connector doesn't support the windlight module yet
}
public RegionSettings LoadRegionSettings(UUID regionUUID)
{
return null;

View File

@ -163,6 +163,10 @@ namespace OpenSim.Data.Null
{
RegionSettings rs = null;
m_regionSettings.TryGetValue(regionUUID, out rs);
if (rs == null)
rs = new RegionSettings();
return rs;
}