Introduce a LightShare kill packet ans send it when needed. Currently only

understood by AVN v0.3
This commit is contained in:
Melanie
2011-12-24 16:18:01 +01:00
parent 2e07d24199
commit 41f6d6a5ff
2 changed files with 13 additions and 5 deletions

View File

@@ -486,6 +486,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
m_host.ParentGroup.Scene.RegionInfo.WindlightSettings.valid = false;
if (m_host.ParentGroup.Scene.SimulationDataService != null)
m_host.ParentGroup.Scene.SimulationDataService.RemoveRegionWindlightSettings(m_host.ParentGroup.Scene.RegionInfo.RegionID);
m_host.ParentGroup.Scene.EventManager.TriggerOnSaveNewWindlightProfile();
}
/// <summary>
/// Set the current Windlight scene to a target avatar