diff options
author | Justin Clark-Casey (justincc) | 2011-08-06 02:17:41 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-08-06 02:17:41 +0100 |
commit | 85e07c78fbed9e85c142c0f565c27015ad95769d (patch) | |
tree | fbf8db8ef6c3084343ca83b8901f232755b3fcfc /OpenSim/Region/Framework/Scenes/Tests/SceneObjectBasicTests.cs | |
parent | rip out sog generation methods in ScenePresenceAgentTests and use SceneHelper... (diff) | |
download | opensim-SC-85e07c78fbed9e85c142c0f565c27015ad95769d.zip opensim-SC-85e07c78fbed9e85c142c0f565c27015ad95769d.tar.gz opensim-SC-85e07c78fbed9e85c142c0f565c27015ad95769d.tar.bz2 opensim-SC-85e07c78fbed9e85c142c0f565c27015ad95769d.tar.xz |
refactor: Change SceneHelpers.AddClient() to AddScenePresence().
This seems to make more sense as we can get SP.ControllingClient
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Tests/SceneObjectBasicTests.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Tests/SceneObjectBasicTests.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Tests/SceneObjectBasicTests.cs b/OpenSim/Region/Framework/Scenes/Tests/SceneObjectBasicTests.cs index ff55680..1ea2329 100644 --- a/OpenSim/Region/Framework/Scenes/Tests/SceneObjectBasicTests.cs +++ b/OpenSim/Region/Framework/Scenes/Tests/SceneObjectBasicTests.cs | |||
@@ -139,7 +139,7 @@ namespace OpenSim.Region.Framework.Scenes.Tests | |||
139 | 139 | ||
140 | SceneObjectPart part = SceneHelpers.AddSceneObject(scene); | 140 | SceneObjectPart part = SceneHelpers.AddSceneObject(scene); |
141 | 141 | ||
142 | IClientAPI client = SceneHelpers.AddClient(scene, agentId); | 142 | IClientAPI client = SceneHelpers.AddScenePresence(scene, agentId).ControllingClient; |
143 | scene.DeRezObjects(client, new System.Collections.Generic.List<uint>() { part.LocalId }, UUID.Zero, DeRezAction.Delete, UUID.Zero); | 143 | scene.DeRezObjects(client, new System.Collections.Generic.List<uint>() { part.LocalId }, UUID.Zero, DeRezAction.Delete, UUID.Zero); |
144 | 144 | ||
145 | SceneObjectPart retrievedPart = scene.GetSceneObjectPart(part.LocalId); | 145 | SceneObjectPart retrievedPart = scene.GetSceneObjectPart(part.LocalId); |