in show regionsinview display the name of the config option (MaxRegionViewDistance) that controls the regions View range

LSLKeyTest
UbitUmarov 2016-09-05 14:51:54 +01:00
parent 4f80c52509
commit 02ecff255d
1 changed files with 1 additions and 1 deletions

View File

@ -343,7 +343,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Grid
{
int maxview = (int)s.MaxRegionViewDistance;
RegionInfo sr = s.RegionInfo;
caps.AppendFormat("*** Regions that can be seen from {0} ({1}) view {2}m ***\n", sr.RegionName, sr.RegionID, maxview);
caps.AppendFormat("*** Regions that can be seen from {0} ({1}) (MaxRegionViewDistance {2}m) ***\n", sr.RegionName, sr.RegionID, maxview);
int startX = (int)sr.WorldLocX;
int endX = startX + (int)sr.RegionSizeX;
int startY = (int)sr.WorldLocY;