From 24a0f0f6da647ab491c384f4b4c0af73873015a6 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Tue, 16 Jun 2020 13:47:44 +0100 Subject: [PATCH] send event message WindlightRefresh for all viewers --- .../World/LightShare/EnvironmentModule.cs | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/OpenSim/Region/CoreModules/World/LightShare/EnvironmentModule.cs b/OpenSim/Region/CoreModules/World/LightShare/EnvironmentModule.cs index 4ab4fd0fca..eaecc40e8c 100644 --- a/OpenSim/Region/CoreModules/World/LightShare/EnvironmentModule.cs +++ b/OpenSim/Region/CoreModules/World/LightShare/EnvironmentModule.cs @@ -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); } + */ }); }