mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 18:55:58 +08:00
* Rig up enough infrastructure to actually perform a successful 'standalone' teleport unit test with checks that the scene presence disappeared from sceneA and appeared in
sceneB * However, I'm not convinced that the actual process in the test completely reflects reality, and a lot of stuff had to be rigged up (which should get resolved over time)
This commit is contained in:
@@ -61,7 +61,7 @@ namespace OpenSim.Region.Environment.Modules.Agent.TextureSender
|
||||
agent.InventoryFolder = UUID.Zero;
|
||||
agent.startpos = Vector3.Zero;
|
||||
agent.CapsPath = "http://wibble.com";
|
||||
client = new TestClient(agent);
|
||||
client = new TestClient(agent, null);
|
||||
ts = new TextureSender(client, 0, 0);
|
||||
testsize = random.Next(5000,15000);
|
||||
npackets = CalculateNumPackets(testsize);
|
||||
|
||||
@@ -128,6 +128,7 @@ namespace OpenSim.Region.Environment.Modules.Communications.Local
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
// m_log.DebugFormat("[LOCAL COMMS]: Did not find region {0} for SendCreateChildAgent", regionHandle);
|
||||
return false;
|
||||
}
|
||||
@@ -138,12 +139,16 @@ namespace OpenSim.Region.Environment.Modules.Communications.Local
|
||||
{
|
||||
if (s.RegionInfo.RegionHandle == regionHandle)
|
||||
{
|
||||
//m_log.Debug("[LOCAL COMMS]: Found region to send ChildAgentUpdate");
|
||||
//m_log.DebugFormat(
|
||||
// "[LOCAL COMMS]: Found region {0} {1} to send ChildAgentUpdate",
|
||||
// s.RegionInfo.RegionName, regionHandle);
|
||||
|
||||
s.IncomingChildAgentDataUpdate(cAgentData);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
//m_log.Debug("[LOCAL COMMS]: region not found for ChildAgentUpdate");
|
||||
|
||||
// m_log.DebugFormat("[LOCAL COMMS]: Did not find region {0} for ChildAgentUpdate", regionHandle);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user