From 85e07c78fbed9e85c142c0f565c27015ad95769d Mon Sep 17 00:00:00 2001
From: Justin Clark-Casey (justincc)
Date: Sat, 6 Aug 2011 02:17:41 +0100
Subject: refactor: Change SceneHelpers.AddClient() to AddScenePresence().
This seems to make more sense as we can get SP.ControllingClient
---
OpenSim/Tests/Common/Helpers/SceneHelpers.cs | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
(limited to 'OpenSim/Tests/Common/Helpers')
diff --git a/OpenSim/Tests/Common/Helpers/SceneHelpers.cs b/OpenSim/Tests/Common/Helpers/SceneHelpers.cs
index 55b638b..070e390 100644
--- a/OpenSim/Tests/Common/Helpers/SceneHelpers.cs
+++ b/OpenSim/Tests/Common/Helpers/SceneHelpers.cs
@@ -341,9 +341,9 @@ namespace OpenSim.Tests.Common
///
///
///
- public static TestClient AddClient(Scene scene, UUID agentId)
+ public static ScenePresence AddScenePresence(Scene scene, UUID agentId)
{
- return AddClient(scene, GenerateAgentData(agentId));
+ return AddScenePresence(scene, GenerateAgentData(agentId));
}
///
@@ -364,7 +364,7 @@ namespace OpenSim.Tests.Common
///
///
///
- public static TestClient AddClient(Scene scene, AgentCircuitData agentData)
+ public static ScenePresence AddScenePresence(Scene scene, AgentCircuitData agentData)
{
string reason;
@@ -386,7 +386,7 @@ namespace OpenSim.Tests.Common
scp.CompleteMovement(client);
//scp.MakeRootAgent(new Vector3(90, 90, 90), true);
- return client;
+ return scp;
}
///
--
cgit v1.1