diff options
author | Tom Grimshaw | 2010-06-26 15:15:19 -0700 |
---|---|---|
committer | Tom Grimshaw | 2010-06-26 15:15:19 -0700 |
commit | 8f0adfbfb264532d55c0f0bab5bc508d36ad365e (patch) | |
tree | 27133f88c4b309f55b1c3f0f31334a86a2a3848d /OpenSim/Region/Framework/Scenes/Scene.cs | |
parent | Return everything at once, it's more efficient that way (diff) | |
download | opensim-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 '')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 1 |
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 | } |