Stop displaying "Sending windowslig profile to client" when WL is disabled

or there is no valid WL for that region.
avinationmerge
Melanie 2011-07-05 03:08:36 +02:00
parent 1b7fec0842
commit d2fc23c034
1 changed files with 2 additions and 1 deletions

View File

@ -181,7 +181,8 @@ namespace OpenSim.Region.CoreModules.World.LightShare
}
private void EventManager_OnMakeRootAgent(ScenePresence presence)
{
m_log.Debug("[WINDLIGHT]: Sending windlight scene to new client");
if (m_enableWindlight && m_scene.RegionInfo.WindlightSettings.valid)
m_log.Debug("[WINDLIGHT]: Sending windlight scene to new client");
SendProfileToClient(presence);
}
private void EventManager_OnSendNewWindlightProfileTargeted(RegionLightShareData wl, UUID pUUID)