coment some debug messages
parent
8eacc6b207
commit
ed6d9199ce
|
@ -126,8 +126,8 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsIn.Land
|
||||||
|
|
||||||
public LandData GetLandData(UUID scopeID, ulong regionHandle, uint x, uint y, out byte regionAccess)
|
public LandData GetLandData(UUID scopeID, ulong regionHandle, uint x, uint y, out byte regionAccess)
|
||||||
{
|
{
|
||||||
m_log.DebugFormat("[LAND IN CONNECTOR]: GetLandData for {0}. Count = {1}",
|
// m_log.DebugFormat("[LAND IN CONNECTOR]: GetLandData for {0}. Count = {1}",
|
||||||
regionHandle, m_Scenes.Count);
|
// regionHandle, m_Scenes.Count);
|
||||||
|
|
||||||
uint rx = 0, ry = 0;
|
uint rx = 0, ry = 0;
|
||||||
Util.RegionHandleToWorldLoc(regionHandle, out rx, out ry);
|
Util.RegionHandleToWorldLoc(regionHandle, out rx, out ry);
|
||||||
|
@ -146,7 +146,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsIn.Land
|
||||||
t += s.RegionInfo.RegionSizeY;
|
t += s.RegionInfo.RegionSizeY;
|
||||||
if( ry < t)
|
if( ry < t)
|
||||||
{
|
{
|
||||||
m_log.Debug("[LAND IN CONNECTOR]: Found region to GetLandData from");
|
// m_log.Debug("[LAND IN CONNECTOR]: Found region to GetLandData from");
|
||||||
regionAccess = s.RegionInfo.AccessLevel;
|
regionAccess = s.RegionInfo.AccessLevel;
|
||||||
return s.GetLandData(x, y);
|
return s.GetLandData(x, y);
|
||||||
}
|
}
|
||||||
|
|
|
@ -121,8 +121,8 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Land
|
||||||
public LandData GetLandData(UUID scopeID, ulong regionHandle, uint x, uint y, out byte regionAccess)
|
public LandData GetLandData(UUID scopeID, ulong regionHandle, uint x, uint y, out byte regionAccess)
|
||||||
{
|
{
|
||||||
regionAccess = 2;
|
regionAccess = 2;
|
||||||
m_log.DebugFormat("[LAND CONNECTOR]: request for land data in {0} at {1}, {2}",
|
// m_log.DebugFormat("[LAND CONNECTOR]: request for land data in {0} at {1}, {2}",
|
||||||
regionHandle, x, y);
|
// regionHandle, x, y);
|
||||||
|
|
||||||
uint rx = 0, ry = 0;
|
uint rx = 0, ry = 0;
|
||||||
Util.RegionHandleToWorldLoc(regionHandle, out rx, out ry);
|
Util.RegionHandleToWorldLoc(regionHandle, out rx, out ry);
|
||||||
|
|
|
@ -5028,7 +5028,7 @@ Label_GroupsDone:
|
||||||
|
|
||||||
public LandData GetLandData(uint x, uint y)
|
public LandData GetLandData(uint x, uint y)
|
||||||
{
|
{
|
||||||
m_log.DebugFormat("[SCENE]: returning land for {0},{1}", x, y);
|
// m_log.DebugFormat("[SCENE]: returning land for {0},{1}", x, y);
|
||||||
ILandObject parcel = LandChannel.GetLandObject((int)x, (int)y);
|
ILandObject parcel = LandChannel.GetLandObject((int)x, (int)y);
|
||||||
if (parcel == null)
|
if (parcel == null)
|
||||||
return null;
|
return null;
|
||||||
|
|
|
@ -64,7 +64,7 @@ namespace OpenSim.Server.Handlers.Land
|
||||||
ulong regionHandle = Convert.ToUInt64(requestData["region_handle"]);
|
ulong regionHandle = Convert.ToUInt64(requestData["region_handle"]);
|
||||||
uint x = Convert.ToUInt32(requestData["x"]);
|
uint x = Convert.ToUInt32(requestData["x"]);
|
||||||
uint y = Convert.ToUInt32(requestData["y"]);
|
uint y = Convert.ToUInt32(requestData["y"]);
|
||||||
m_log.DebugFormat("[LAND HANDLER]: Got request for land data at {0}, {1} for region {2}", x, y, regionHandle);
|
// m_log.DebugFormat("[LAND HANDLER]: Got request for land data at {0}, {1} for region {2}", x, y, regionHandle);
|
||||||
|
|
||||||
byte regionAccess;
|
byte regionAccess;
|
||||||
LandData landData = m_LocalService.GetLandData(UUID.Zero, regionHandle, x, y, out regionAccess);
|
LandData landData = m_LocalService.GetLandData(UUID.Zero, regionHandle, x, y, out regionAccess);
|
||||||
|
|
Loading…
Reference in New Issue