diff options
author | UbitUmarov | 2015-11-16 17:35:20 +0000 |
---|---|---|
committer | UbitUmarov | 2015-11-16 17:35:20 +0000 |
commit | 9b6633697b9bf1669ecead50bbf01d56aa844df2 (patch) | |
tree | 8f45d3702c84ca1ad628c257e4cbe76ea70117f6 | |
parent | Fix a merge conflict (diff) | |
download | opensim-SC-9b6633697b9bf1669ecead50bbf01d56aa844df2.zip opensim-SC-9b6633697b9bf1669ecead50bbf01d56aa844df2.tar.gz opensim-SC-9b6633697b9bf1669ecead50bbf01d56aa844df2.tar.bz2 opensim-SC-9b6633697b9bf1669ecead50bbf01d56aa844df2.tar.xz |
coment out excessive debug messages
-rw-r--r-- | OpenSim/Region/CoreModules/ServiceConnectorsOut/Grid/RemoteGridServiceConnector.cs | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Grid/RemoteGridServiceConnector.cs b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Grid/RemoteGridServiceConnector.cs index 68ae4fa..950eec6 100644 --- a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Grid/RemoteGridServiceConnector.cs +++ b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Grid/RemoteGridServiceConnector.cs | |||
@@ -196,20 +196,21 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Grid | |||
196 | ulong regionHandle = Util.RegionWorldLocToHandle((uint)x, (uint)y); | 196 | ulong regionHandle = Util.RegionWorldLocToHandle((uint)x, (uint)y); |
197 | uint regionX = Util.WorldToRegionLoc((uint)x); | 197 | uint regionX = Util.WorldToRegionLoc((uint)x); |
198 | uint regionY = Util.WorldToRegionLoc((uint)y); | 198 | uint regionY = Util.WorldToRegionLoc((uint)y); |
199 | 199 | ||
200 | /* this is no longer valid | ||
200 | // Sanity check | 201 | // Sanity check |
201 | if ((Util.RegionToWorldLoc(regionX) != (uint)x) || (Util.RegionToWorldLoc(regionY) != (uint)y)) | 202 | if ((Util.RegionToWorldLoc(regionX) != (uint)x) || (Util.RegionToWorldLoc(regionY) != (uint)y)) |
202 | { | 203 | { |
203 | m_log.WarnFormat("[REMOTE GRID CONNECTOR]: GetRegionByPosition. Bad position requested: not the base of the region. Requested Pos=<{0},{1}>, Should Be=<{2},{3}>", | 204 | m_log.WarnFormat("[REMOTE GRID CONNECTOR]: GetRegionByPosition. Bad position requested: not the base of the region. Requested Pos=<{0},{1}>, Should Be=<{2},{3}>", |
204 | x, y, Util.RegionToWorldLoc(regionX), Util.RegionToWorldLoc(regionY)); | 205 | x, y, Util.RegionToWorldLoc(regionX), Util.RegionToWorldLoc(regionY)); |
205 | } | 206 | } |
206 | 207 | */ | |
207 | bool inCache = false; | 208 | bool inCache = false; |
208 | GridRegion rinfo = m_RegionInfoCache.Get(scopeID, regionHandle, out inCache); | 209 | GridRegion rinfo = m_RegionInfoCache.Get(scopeID, regionHandle, out inCache); |
209 | if (inCache) | 210 | if (inCache) |
210 | { | 211 | { |
211 | m_log.DebugFormat("[REMOTE GRID CONNECTOR]: GetRegionByPosition. Found region {0} in cache. Pos=<{1},{2}>, RegionHandle={3}", | 212 | // m_log.DebugFormat("[REMOTE GRID CONNECTOR]: GetRegionByPosition. Found region {0} in cache. Pos=<{1},{2}>, RegionHandle={3}", |
212 | (rinfo == null) ? "<missing>" : rinfo.RegionName, regionX, regionY, (rinfo == null) ? regionHandle : rinfo.RegionHandle); | 213 | // (rinfo == null) ? "<missing>" : rinfo.RegionName, regionX, regionY, (rinfo == null) ? regionHandle : rinfo.RegionHandle); |
213 | return rinfo; | 214 | return rinfo; |
214 | } | 215 | } |
215 | 216 | ||