mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
* remove mono compiler warnings
* should work - the last compile failure looks like a random glitch...
This commit is contained in:
@@ -71,7 +71,7 @@ namespace OpenSim.Region.Environment.Scenes
|
||||
private PrimCrossing handlerPrimCrossingIntoRegion = null; // OnPrimCrossingIntoRegion;
|
||||
private RegionUp handlerRegionUp = null; // OnRegionUp;
|
||||
private ChildAgentUpdate handlerChildAgentUpdate = null; // OnChildAgentUpdate;
|
||||
private RemoveKnownRegionsFromAvatarList handlerRemoveKnownRegionFromAvatar = null; // OnRemoveKnownRegionFromAvatar;
|
||||
//private RemoveKnownRegionsFromAvatarList handlerRemoveKnownRegionFromAvatar = null; // OnRemoveKnownRegionFromAvatar;
|
||||
private LogOffUser handlerLogOffUser = null;
|
||||
private GetLandData handlerGetLandData = null; // OnGetLandData
|
||||
|
||||
@@ -904,10 +904,10 @@ namespace OpenSim.Region.Environment.Scenes
|
||||
return currentNeighbours.FindAll(delegate(ulong handle) { return !previousNeighbours.Contains(handle); });
|
||||
}
|
||||
|
||||
private List<ulong> CommonNeighbours(List<ulong> currentNeighbours, List<ulong> previousNeighbours)
|
||||
{
|
||||
return currentNeighbours.FindAll(delegate(ulong handle) { return previousNeighbours.Contains(handle); });
|
||||
}
|
||||
// private List<ulong> CommonNeighbours(List<ulong> currentNeighbours, List<ulong> previousNeighbours)
|
||||
// {
|
||||
// return currentNeighbours.FindAll(delegate(ulong handle) { return previousNeighbours.Contains(handle); });
|
||||
// }
|
||||
|
||||
private List<ulong> OldNeighbours(List<ulong> currentNeighbours, List<ulong> previousNeighbours)
|
||||
{
|
||||
@@ -985,17 +985,17 @@ namespace OpenSim.Region.Environment.Scenes
|
||||
return m_commsProvider.GridService.RequestNamedRegions(name, maxNumber);
|
||||
}
|
||||
|
||||
private void Dump(string msg, List<ulong> handles)
|
||||
{
|
||||
Console.WriteLine("-------------- HANDLE DUMP ({0}) ---------", msg);
|
||||
foreach (ulong handle in handles)
|
||||
{
|
||||
uint x, y;
|
||||
Utils.LongToUInts(handle, out x, out y);
|
||||
x = x / Constants.RegionSize;
|
||||
y = y / Constants.RegionSize;
|
||||
Console.WriteLine("({0}, {1})", x, y);
|
||||
}
|
||||
}
|
||||
// private void Dump(string msg, List<ulong> handles)
|
||||
// {
|
||||
// Console.WriteLine("-------------- HANDLE DUMP ({0}) ---------", msg);
|
||||
// foreach (ulong handle in handles)
|
||||
// {
|
||||
// uint x, y;
|
||||
// Utils.LongToUInts(handle, out x, out y);
|
||||
// x = x / Constants.RegionSize;
|
||||
// y = y / Constants.RegionSize;
|
||||
// Console.WriteLine("({0}, {1})", x, y);
|
||||
// }
|
||||
// }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1932,7 +1932,6 @@ namespace OpenSim.Region.Environment.Scenes
|
||||
|
||||
#region Overridden Methods
|
||||
|
||||
int x = 0;
|
||||
public override void Update()
|
||||
{
|
||||
SendPrimUpdates();
|
||||
@@ -2436,7 +2435,8 @@ namespace OpenSim.Region.Environment.Scenes
|
||||
// Next, let's close the child agent connections that are too far away.
|
||||
CloseChildAgents(neighbourx, neighboury);
|
||||
|
||||
AgentCircuitData circuitdata = m_controllingClient.RequestClientInfo();
|
||||
//AgentCircuitData circuitdata = m_controllingClient.RequestClientInfo();
|
||||
m_controllingClient.RequestClientInfo();
|
||||
|
||||
//Console.WriteLine("BEFORE CROSS");
|
||||
//Scene.DumpChildrenSeeds(UUID);
|
||||
|
||||
Reference in New Issue
Block a user