diff options
author | UbitUmarov | 2016-09-05 14:51:54 +0100 |
---|---|---|
committer | UbitUmarov | 2016-09-05 14:51:54 +0100 |
commit | 02ecff255d7cdebaa19b1f75ab584fee89e00ee2 (patch) | |
tree | a32be8252f9ca3f333a68d7228a76980f2c1b0f6 | |
parent | add console comand show regionsinview lists the regions that can be seen fro... (diff) | |
download | opensim-SC-02ecff255d7cdebaa19b1f75ab584fee89e00ee2.zip opensim-SC-02ecff255d7cdebaa19b1f75ab584fee89e00ee2.tar.gz opensim-SC-02ecff255d7cdebaa19b1f75ab584fee89e00ee2.tar.bz2 opensim-SC-02ecff255d7cdebaa19b1f75ab584fee89e00ee2.tar.xz |
in show regionsinview display the name of the config option (MaxRegionViewDistance) that controls the regions View range
-rw-r--r-- | OpenSim/Region/CoreModules/ServiceConnectorsOut/Grid/LocalGridServiceConnector.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Grid/LocalGridServiceConnector.cs b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Grid/LocalGridServiceConnector.cs index 1271561..0a555ad 100644 --- a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Grid/LocalGridServiceConnector.cs +++ b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Grid/LocalGridServiceConnector.cs | |||
@@ -343,7 +343,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Grid | |||
343 | { | 343 | { |
344 | int maxview = (int)s.MaxRegionViewDistance; | 344 | int maxview = (int)s.MaxRegionViewDistance; |
345 | RegionInfo sr = s.RegionInfo; | 345 | RegionInfo sr = s.RegionInfo; |
346 | caps.AppendFormat("*** Regions that can be seen from {0} ({1}) view {2}m ***\n", sr.RegionName, sr.RegionID, maxview); | 346 | caps.AppendFormat("*** Regions that can be seen from {0} ({1}) (MaxRegionViewDistance {2}m) ***\n", sr.RegionName, sr.RegionID, maxview); |
347 | int startX = (int)sr.WorldLocX; | 347 | int startX = (int)sr.WorldLocX; |
348 | int endX = startX + (int)sr.RegionSizeX; | 348 | int endX = startX + (int)sr.RegionSizeX; |
349 | int startY = (int)sr.WorldLocY; | 349 | int startY = (int)sr.WorldLocY; |