Trigger the RegionLightShareData OnSave event properly when the profile is saved

avinationmerge
Tom Grimshaw 2010-06-26 15:15:19 -07:00
parent d188ed8ed8
commit 8f0adfbfb2
1 changed files with 1 additions and 0 deletions

View File

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