Trigger the RegionLightShareData OnSave event properly when the profile is saved

This commit is contained in:
Tom Grimshaw
2010-06-26 15:15:19 -07:00
parent d188ed8ed8
commit 8f0adfbfb2

View File

@@ -1770,6 +1770,7 @@ namespace OpenSim.Region.Framework.Scenes
public void StoreWindlightProfile(RegionLightShareData wl)
{
m_regInfo.WindlightSettings = wl;
wl.Save();
m_storageManager.DataStore.StoreRegionWindlightSettings(wl);
m_eventManager.TriggerOnSaveNewWindlightProfile();
}