Fix unit tests from RegionSettings commit
parent
086bf9f15d
commit
42790f021f
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue