aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/LightShare
diff options
context:
space:
mode:
authorMelanie2010-11-03 02:04:17 +0000
committerMelanie2010-11-03 02:04:17 +0000
commit4ab9d37a8e556fe7f54d70db922eede861bce812 (patch)
treeffdc06ea6676ab30b8cefbf2c2192169d3c595c5 /OpenSim/Region/CoreModules/LightShare
parentChange the default of the new bind_ip_address RemoteAdmin option to 0.0.0.0 (diff)
downloadopensim-SC_OLD-4ab9d37a8e556fe7f54d70db922eede861bce812.zip
opensim-SC_OLD-4ab9d37a8e556fe7f54d70db922eede861bce812.tar.gz
opensim-SC_OLD-4ab9d37a8e556fe7f54d70db922eede861bce812.tar.bz2
opensim-SC_OLD-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 'OpenSim/Region/CoreModules/LightShare')
-rw-r--r--OpenSim/Region/CoreModules/LightShare/LightShareModule.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/LightShare/LightShareModule.cs b/OpenSim/Region/CoreModules/LightShare/LightShareModule.cs
index 412dbb6..88f392d 100644
--- a/OpenSim/Region/CoreModules/LightShare/LightShareModule.cs
+++ b/OpenSim/Region/CoreModules/LightShare/LightShareModule.cs
@@ -194,7 +194,8 @@ namespace OpenSim.Region.CoreModules.World.LightShare
194 } 194 }
195 private void EventManager_OnSaveNewWindlightProfile() 195 private void EventManager_OnSaveNewWindlightProfile()
196 { 196 {
197 m_scene.ForEachScenePresence(SendProfileToClient); 197 if (m_scene.RegionInfo.WindlightSettings.valid)
198 m_scene.ForEachScenePresence(SendProfileToClient);
198 } 199 }
199 200
200 public void PostInitialise() 201 public void PostInitialise()