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>
This commit is contained in:
fly-man-
2018-08-16 11:34:27 +02:00
committed by UbitUmarov
parent b16ee749ed
commit 45de5eb638

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))