aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api
diff options
context:
space:
mode:
authorMelanie2010-11-03 02:04:17 +0000
committerMelanie2010-11-03 02:04:17 +0000
commit4ab9d37a8e556fe7f54d70db922eede861bce812 (patch)
treeffdc06ea6676ab30b8cefbf2c2192169d3c595c5 /OpenSim/Region/ScriptEngine/Shared/Api
parentChange the default of the new bind_ip_address RemoteAdmin option to 0.0.0.0 (diff)
downloadopensim-SC-4ab9d37a8e556fe7f54d70db922eede861bce812.zip
opensim-SC-4ab9d37a8e556fe7f54d70db922eede861bce812.tar.gz
opensim-SC-4ab9d37a8e556fe7f54d70db922eede861bce812.tar.bz2
opensim-SC-4ab9d37a8e556fe7f54d70db922eede861bce812.tar.xz
When LightShare is enabled, the standard day cycle is bypassed and replaced by
midday defaults when no specific LightShare profile is set. This prevents LightShare info being send out when the region has no LightShare profile, allowing normal day/night cycles to happen.
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LS_Api.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LS_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LS_Api.cs
index 665b39f..24a93c5 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LS_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LS_Api.cs
@@ -455,6 +455,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
455 if (LightShareModule.EnableWindlight) 455 if (LightShareModule.EnableWindlight)
456 { 456 {
457 RegionLightShareData wl = getWindlightProfileFromRules(rules); 457 RegionLightShareData wl = getWindlightProfileFromRules(rules);
458 wl.valid = true;
458 m_host.ParentGroup.Scene.StoreWindlightProfile(wl); 459 m_host.ParentGroup.Scene.StoreWindlightProfile(wl);
459 success = 1; 460 success = 1;
460 } 461 }