aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework
diff options
context:
space:
mode:
authorTom Grimshaw2010-06-26 15:15:19 -0700
committerTom Grimshaw2010-06-26 15:15:19 -0700
commit8f0adfbfb264532d55c0f0bab5bc508d36ad365e (patch)
tree27133f88c4b309f55b1c3f0f31334a86a2a3848d /OpenSim/Region/Framework
parentReturn everything at once, it's more efficient that way (diff)
downloadopensim-SC-8f0adfbfb264532d55c0f0bab5bc508d36ad365e.zip
opensim-SC-8f0adfbfb264532d55c0f0bab5bc508d36ad365e.tar.gz
opensim-SC-8f0adfbfb264532d55c0f0bab5bc508d36ad365e.tar.bz2
opensim-SC-8f0adfbfb264532d55c0f0bab5bc508d36ad365e.tar.xz
Trigger the RegionLightShareData OnSave event properly when the profile is saved
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index bbac919..c5fb198 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -1770,6 +1770,7 @@ namespace OpenSim.Region.Framework.Scenes
1770 public void StoreWindlightProfile(RegionLightShareData wl) 1770 public void StoreWindlightProfile(RegionLightShareData wl)
1771 { 1771 {
1772 m_regInfo.WindlightSettings = wl; 1772 m_regInfo.WindlightSettings = wl;
1773 wl.Save();
1773 m_storageManager.DataStore.StoreRegionWindlightSettings(wl); 1774 m_storageManager.DataStore.StoreRegionWindlightSettings(wl);
1774 m_eventManager.TriggerOnSaveNewWindlightProfile(); 1775 m_eventManager.TriggerOnSaveNewWindlightProfile();
1775 } 1776 }