Rename SceneSetupHelpers.AddRootAgent to AddClient() to better represent its effects and return object

This commit is contained in:
Justin Clark-Casey (justincc)
2011-07-09 02:25:40 +01:00
parent f99b89990c
commit 59aedbc94b
8 changed files with 11 additions and 11 deletions

View File

@@ -139,7 +139,7 @@ namespace OpenSim.Region.Framework.Scenes.Tests
SceneObjectPart part = SceneSetupHelpers.AddSceneObject(scene);
IClientAPI client = SceneSetupHelpers.AddRootAgent(scene, agentId);
IClientAPI client = SceneSetupHelpers.AddClient(scene, agentId);
scene.DeRezObjects(client, new System.Collections.Generic.List<uint>() { part.LocalId }, UUID.Zero, DeRezAction.Delete, UUID.Zero);
SceneObjectPart retrievedPart = scene.GetSceneObjectPart(part.LocalId);