From 70f867a518678ac81fb0125a8f7779b3b85f8ab5 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Tue, 16 Jun 2020 15:27:43 +0100 Subject: [PATCH] yeack, revert that... for now we do need to use diferent notification methods --- .../World/LightShare/EnvironmentModule.cs | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/OpenSim/Region/CoreModules/World/LightShare/EnvironmentModule.cs b/OpenSim/Region/CoreModules/World/LightShare/EnvironmentModule.cs index eaecc40e8c..4ab4fd0fca 100644 --- a/OpenSim/Region/CoreModules/World/LightShare/EnvironmentModule.cs +++ b/OpenSim/Region/CoreModules/World/LightShare/EnvironmentModule.cs @@ -250,16 +250,21 @@ namespace OpenSim.Region.CoreModules.World.LightShare { if(!client.IsActive) return; - - m_eventQueue.WindlightRefreshEvent(interpolate, client.AgentId); - /* + + uint vflags = client.GetViewerCaps(); + + if ((vflags & 0x8000) != 0) + m_estateModule.HandleRegionInfoRequest(client); + + else if ((vflags & 0x4000) != 0) + m_eventQueue.WindlightRefreshEvent(interpolate, client.AgentId); + else { if(ls == null) ls = MakeLightShareData(); SendLightShare(client, ls); } - */ }); }