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

@ -251,20 +251,15 @@ namespace OpenSim.Region.CoreModules.World.LightShare
if(!client.IsActive) if(!client.IsActive)
return; 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 else
{ {
if(ls == null) if(ls == null)
ls = MakeLightShareData(); ls = MakeLightShareData();
SendLightShare(client, ls); SendLightShare(client, ls);
} }
*/
}); });
} }