diff options
author | CasperW | 2009-12-09 03:58:56 +0100 |
---|---|---|
committer | CasperW | 2009-12-09 03:58:56 +0100 |
commit | 2a6dbd068ef48c7605f44153dcfea6b215749bed (patch) | |
tree | ccd2cf3ac694ae28f27d0949bc761b8c6314ef99 /OpenSim/Region/Framework/Scenes | |
parent | Windlight configuration option in ini, and migration (diff) | |
download | opensim-SC_OLD-2a6dbd068ef48c7605f44153dcfea6b215749bed.zip opensim-SC_OLD-2a6dbd068ef48c7605f44153dcfea6b215749bed.tar.gz opensim-SC_OLD-2a6dbd068ef48c7605f44153dcfea6b215749bed.tar.bz2 opensim-SC_OLD-2a6dbd068ef48c7605f44153dcfea6b215749bed.tar.xz |
Last bits and bobs to clean up the Meta7WindlightModule
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index 475d775..1b275b0 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -1504,7 +1504,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1504 | { | 1504 | { |
1505 | m_storageManager.DataStore.StoreTerrain(Heightmap.GetDoubles(), RegionInfo.RegionID); | 1505 | m_storageManager.DataStore.StoreTerrain(Heightmap.GetDoubles(), RegionInfo.RegionID); |
1506 | } | 1506 | } |
1507 | 1507 | ||
1508 | public void StoreWindlightProfile(RegionMeta7WindlightData wl) | 1508 | public void StoreWindlightProfile(RegionMeta7WindlightData wl) |
1509 | { | 1509 | { |
1510 | m_regInfo.WindlightSettings = wl; | 1510 | m_regInfo.WindlightSettings = wl; |
@@ -1512,6 +1512,12 @@ namespace OpenSim.Region.Framework.Scenes | |||
1512 | m_eventManager.TriggerOnSaveNewWindlightProfile(); | 1512 | m_eventManager.TriggerOnSaveNewWindlightProfile(); |
1513 | } | 1513 | } |
1514 | 1514 | ||
1515 | public void LoadWindlightProfile() | ||
1516 | { | ||
1517 | m_regInfo.WindlightSettings = m_storageManager.DataStore.LoadRegionWindlightSettings(RegionInfo.RegionID); | ||
1518 | m_eventManager.TriggerOnSaveNewWindlightProfile(); | ||
1519 | } | ||
1520 | |||
1515 | /// <summary> | 1521 | /// <summary> |
1516 | /// Loads the World heightmap | 1522 | /// Loads the World heightmap |
1517 | /// </summary> | 1523 | /// </summary> |