mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 17:05:55 +08:00
Rename SceneSetupHelpers.AddRootAgent to AddClient() to better represent its effects and return object
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user