From 45de5eb638ed2a6e7977a2213f2595215d74e46c Mon Sep 17 00:00:00 2001 From: fly-man- Date: Thu, 16 Aug 2018 11:34:27 +0200 Subject: Allow Grid owners to regenerate a maptile for a region manually through the use of the God Tools Signed-off-by: UbitUmarov --- OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs') diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs index 357d16a..544455c 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs @@ -10157,6 +10157,15 @@ namespace OpenSim.Region.ClientStack.LindenUDP } return true; + case "refreshmapvisibility": + if (((Scene)m_scene).Permissions.CanIssueEstateCommand(AgentId, false)) + { + IMapImageGenerator mapModule = Scene.RequestModuleInterface(); + if (mapModule != null) + mapModule.CreateMapTile(); + } + return true; + case "kickestate": if(((Scene)m_scene).Permissions.CanIssueEstateCommand(AgentId, false)) -- cgit v1.1