diff options
author | Justin Clark-Casey (justincc) | 2011-07-09 02:25:40 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-07-09 02:25:40 +0100 |
commit | 59aedbc94b345a964fc404c22247afd0487b6f54 (patch) | |
tree | 91677f3460784343e2b9cf571214a1a2598e380f /OpenSim/Region/Framework/Scenes/Tests/SceneObjectBasicTests.cs | |
parent | Add scratch AvatarFactoryModuleTests with one test to do a partial check on A... (diff) | |
download | opensim-SC_OLD-59aedbc94b345a964fc404c22247afd0487b6f54.zip opensim-SC_OLD-59aedbc94b345a964fc404c22247afd0487b6f54.tar.gz opensim-SC_OLD-59aedbc94b345a964fc404c22247afd0487b6f54.tar.bz2 opensim-SC_OLD-59aedbc94b345a964fc404c22247afd0487b6f54.tar.xz |
Rename SceneSetupHelpers.AddRootAgent to AddClient() to better represent its effects and return object
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 0a82c4f..260d1c0 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 = SceneSetupHelpers.AddSceneObject(scene); | 140 | SceneObjectPart part = SceneSetupHelpers.AddSceneObject(scene); |
141 | 141 | ||
142 | IClientAPI client = SceneSetupHelpers.AddRootAgent(scene, agentId); | 142 | IClientAPI client = SceneSetupHelpers.AddClient(scene, agentId); |
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); |