diff options
Diffstat (limited to 'OpenSim/Region/CoreModules/LightShare/LightShareModule.cs')
-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 16cbbf5..f49641f 100644 --- a/OpenSim/Region/CoreModules/LightShare/LightShareModule.cs +++ b/OpenSim/Region/CoreModules/LightShare/LightShareModule.cs | |||
@@ -170,7 +170,8 @@ namespace OpenSim.Region.CoreModules.World.LightShare | |||
170 | 170 | ||
171 | private void EventManager_OnMakeRootAgent(ScenePresence presence) | 171 | private void EventManager_OnMakeRootAgent(ScenePresence presence) |
172 | { | 172 | { |
173 | m_log.Debug("[WINDLIGHT]: Sending windlight scene to new client"); | 173 | if (m_enableWindlight && m_scene.RegionInfo.WindlightSettings.valid) |
174 | m_log.Debug("[WINDLIGHT]: Sending windlight scene to new client"); | ||
174 | SendProfileToClient(presence.ControllingClient); | 175 | SendProfileToClient(presence.ControllingClient); |
175 | } | 176 | } |
176 | 177 | ||