send event message WindlightRefresh for all viewers

master
UbitUmarov 2020-06-16 13:47:44 +01:00
parent 833ae02121
commit 24a0f0f6da
1 changed files with 4 additions and 9 deletions

View File

@ -250,21 +250,16 @@ namespace OpenSim.Region.CoreModules.World.LightShare
{
if(!client.IsActive)
return;
uint vflags = client.GetViewerCaps();
if ((vflags & 0x8000) != 0)
m_estateModule.HandleRegionInfoRequest(client);
else if ((vflags & 0x4000) != 0)
m_eventQueue.WindlightRefreshEvent(interpolate, client.AgentId);
m_eventQueue.WindlightRefreshEvent(interpolate, client.AgentId);
/*
else
{
if(ls == null)
ls = MakeLightShareData();
SendLightShare(client, ls);
}
*/
});
}