Allow Grid owners to regenerate a maptile for a region manually through the use of the God Tools

Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
0.9.1.0-post-fixes
fly-man- 2018-08-16 11:34:27 +02:00 committed by UbitUmarov
parent b16ee749ed
commit 45de5eb638
1 changed files with 9 additions and 0 deletions

View File

@ -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<IMapImageGenerator>();
if (mapModule != null)
mapModule.CreateMapTile();
}
return true;
case "kickestate":
if(((Scene)m_scene).Permissions.CanIssueEstateCommand(AgentId, false))