aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Scene.cs
diff options
context:
space:
mode:
authorunknown2009-12-09 01:34:26 +0100
committerunknown2009-12-09 01:34:26 +0100
commite3f229225c5a1506090bfcffcce6d423a566f1fe (patch)
tree8890b3404d3ca2045e6bb6ceb433069b60d77de0 /OpenSim/Region/Framework/Scenes/Scene.cs
parentMerge branch 'careminster' into windlight (diff)
downloadopensim-SC-e3f229225c5a1506090bfcffcce6d423a566f1fe.zip
opensim-SC-e3f229225c5a1506090bfcffcce6d423a566f1fe.tar.gz
opensim-SC-e3f229225c5a1506090bfcffcce6d423a566f1fe.tar.bz2
opensim-SC-e3f229225c5a1506090bfcffcce6d423a566f1fe.tar.xz
Enable scripting interface for windlight
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index 8d91d65..475d775 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -1505,6 +1505,13 @@ namespace OpenSim.Region.Framework.Scenes
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)
1509 {
1510 m_regInfo.WindlightSettings = wl;
1511 m_storageManager.DataStore.StoreRegionWindlightSettings(wl);
1512 m_eventManager.TriggerOnSaveNewWindlightProfile();
1513 }
1514
1508 /// <summary> 1515 /// <summary>
1509 /// Loads the World heightmap 1516 /// Loads the World heightmap
1510 /// </summary> 1517 /// </summary>