aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Tests/ScenePresenceTeleportTests.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2011-08-06 02:17:41 +0100
committerJustin Clark-Casey (justincc)2011-08-06 02:17:41 +0100
commit85e07c78fbed9e85c142c0f565c27015ad95769d (patch)
treefbf8db8ef6c3084343ca83b8901f232755b3fcfc /OpenSim/Region/Framework/Scenes/Tests/ScenePresenceTeleportTests.cs
parentrip out sog generation methods in ScenePresenceAgentTests and use SceneHelper... (diff)
downloadopensim-SC_OLD-85e07c78fbed9e85c142c0f565c27015ad95769d.zip
opensim-SC_OLD-85e07c78fbed9e85c142c0f565c27015ad95769d.tar.gz
opensim-SC_OLD-85e07c78fbed9e85c142c0f565c27015ad95769d.tar.bz2
opensim-SC_OLD-85e07c78fbed9e85c142c0f565c27015ad95769d.tar.xz
refactor: Change SceneHelpers.AddClient() to AddScenePresence().
This seems to make more sense as we can get SP.ControllingClient
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Framework/Scenes/Tests/ScenePresenceTeleportTests.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Tests/ScenePresenceTeleportTests.cs b/OpenSim/Region/Framework/Scenes/Tests/ScenePresenceTeleportTests.cs
index 4765a86..39bb43a 100644
--- a/OpenSim/Region/Framework/Scenes/Tests/ScenePresenceTeleportTests.cs
+++ b/OpenSim/Region/Framework/Scenes/Tests/ScenePresenceTeleportTests.cs
@@ -125,7 +125,7 @@ namespace OpenSim.Region.Framework.Scenes.Tests
125 sceneA.RegisterRegionWithGrid(); 125 sceneA.RegisterRegionWithGrid();
126 126
127 UUID agentId = UUID.Parse("00000000-0000-0000-0000-000000000041"); 127 UUID agentId = UUID.Parse("00000000-0000-0000-0000-000000000041");
128 TestClient client = SceneHelpers.AddClient(sceneA, agentId); 128 TestClient client = (TestClient)SceneHelpers.AddScenePresence(sceneA, agentId).ControllingClient;
129 129
130 ICapabilitiesModule sceneACapsModule = sceneA.RequestModuleInterface<ICapabilitiesModule>(); 130 ICapabilitiesModule sceneACapsModule = sceneA.RequestModuleInterface<ICapabilitiesModule>();
131 131