Trigger the RegionLightShareData OnSave event properly when the profile is saved
parent
d188ed8ed8
commit
8f0adfbfb2
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue