aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules
diff options
context:
space:
mode:
authorMelanie2011-07-05 03:08:36 +0200
committerMelanie2011-07-05 03:08:36 +0200
commitd2fc23c0344c2e537bc487334680d37d01675b5d (patch)
treef4143041e4a9d176449722d133cbd31eb4f9e311 /OpenSim/Region/CoreModules
parentRemove friends debug spam (diff)
downloadopensim-SC-d2fc23c0344c2e537bc487334680d37d01675b5d.zip
opensim-SC-d2fc23c0344c2e537bc487334680d37d01675b5d.tar.gz
opensim-SC-d2fc23c0344c2e537bc487334680d37d01675b5d.tar.bz2
opensim-SC-d2fc23c0344c2e537bc487334680d37d01675b5d.tar.xz
Stop displaying "Sending windowslig profile to client" when WL is disabled
or there is no valid WL for that region.
Diffstat (limited to 'OpenSim/Region/CoreModules')
-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 2de8d7a..93e65c3 100644
--- a/OpenSim/Region/CoreModules/LightShare/LightShareModule.cs
+++ b/OpenSim/Region/CoreModules/LightShare/LightShareModule.cs
@@ -181,7 +181,8 @@ namespace OpenSim.Region.CoreModules.World.LightShare
181 } 181 }
182 private void EventManager_OnMakeRootAgent(ScenePresence presence) 182 private void EventManager_OnMakeRootAgent(ScenePresence presence)
183 { 183 {
184 m_log.Debug("[WINDLIGHT]: Sending windlight scene to new client"); 184 if (m_enableWindlight && m_scene.RegionInfo.WindlightSettings.valid)
185 m_log.Debug("[WINDLIGHT]: Sending windlight scene to new client");
185 SendProfileToClient(presence); 186 SendProfileToClient(presence);
186 } 187 }
187 private void EventManager_OnSendNewWindlightProfileTargeted(RegionLightShareData wl, UUID pUUID) 188 private void EventManager_OnSendNewWindlightProfileTargeted(RegionLightShareData wl, UUID pUUID)