diff options
-rw-r--r-- | OpenSim/Region/CoreModules/LightShare/LightShareModule.cs | 3 |
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) |