change last commit to do as console comand generate map
parent
45de5eb638
commit
6bb8055cc2
|
@ -10160,9 +10160,9 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||||
case "refreshmapvisibility":
|
case "refreshmapvisibility":
|
||||||
if (((Scene)m_scene).Permissions.CanIssueEstateCommand(AgentId, false))
|
if (((Scene)m_scene).Permissions.CanIssueEstateCommand(AgentId, false))
|
||||||
{
|
{
|
||||||
IMapImageGenerator mapModule = Scene.RequestModuleInterface<IMapImageGenerator>();
|
IWorldMapModule mapModule = Scene.RequestModuleInterface<IWorldMapModule>();
|
||||||
if (mapModule != null)
|
if (mapModule != null)
|
||||||
mapModule.CreateMapTile();
|
mapModule.GenerateMaptile();
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue