mirror of
https://github.com/opensim/opensim.git
synced 2026-08-10 11:33:28 +08:00
Simplify regression TestInterRegionChatDistanceEastWest() by making the child presence connection directly rather than routing through TestClient.
This code isn't relevant to this test and is already exercised by other tests.
This commit is contained in:
@@ -574,7 +574,11 @@ namespace OpenSim.Tests.Common
|
||||
|
||||
public static ScenePresence AddChildScenePresence(Scene scene, UUID agentId)
|
||||
{
|
||||
AgentCircuitData acd = GenerateAgentData(agentId);
|
||||
return AddChildScenePresence(scene, GenerateAgentData(agentId));
|
||||
}
|
||||
|
||||
public static ScenePresence AddChildScenePresence(Scene scene, AgentCircuitData acd)
|
||||
{
|
||||
acd.child = true;
|
||||
|
||||
// XXX: ViaLogin may not be correct for child agents
|
||||
|
||||
Reference in New Issue
Block a user