in show regionsinview display the name of the config option (MaxRegionViewDistance) that controls the regions View range
parent
4f80c52509
commit
02ecff255d
|
@ -343,7 +343,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Grid
|
||||||
{
|
{
|
||||||
int maxview = (int)s.MaxRegionViewDistance;
|
int maxview = (int)s.MaxRegionViewDistance;
|
||||||
RegionInfo sr = s.RegionInfo;
|
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 startX = (int)sr.WorldLocX;
|
||||||
int endX = startX + (int)sr.RegionSizeX;
|
int endX = startX + (int)sr.RegionSizeX;
|
||||||
int startY = (int)sr.WorldLocY;
|
int startY = (int)sr.WorldLocY;
|
||||||
|
|
Loading…
Reference in New Issue