diff options
Diffstat (limited to 'OpenSim/Tests/Common')
-rw-r--r-- | OpenSim/Tests/Common/Helpers/SceneHelpers.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Tests/Common/Helpers/SceneHelpers.cs b/OpenSim/Tests/Common/Helpers/SceneHelpers.cs index 55b638b..070e390 100644 --- a/OpenSim/Tests/Common/Helpers/SceneHelpers.cs +++ b/OpenSim/Tests/Common/Helpers/SceneHelpers.cs | |||
@@ -341,9 +341,9 @@ namespace OpenSim.Tests.Common | |||
341 | /// <param name="scene"></param> | 341 | /// <param name="scene"></param> |
342 | /// <param name="agentId"></param> | 342 | /// <param name="agentId"></param> |
343 | /// <returns></returns> | 343 | /// <returns></returns> |
344 | public static TestClient AddClient(Scene scene, UUID agentId) | 344 | public static ScenePresence AddScenePresence(Scene scene, UUID agentId) |
345 | { | 345 | { |
346 | return AddClient(scene, GenerateAgentData(agentId)); | 346 | return AddScenePresence(scene, GenerateAgentData(agentId)); |
347 | } | 347 | } |
348 | 348 | ||
349 | /// <summary> | 349 | /// <summary> |
@@ -364,7 +364,7 @@ namespace OpenSim.Tests.Common | |||
364 | /// <param name="scene"></param> | 364 | /// <param name="scene"></param> |
365 | /// <param name="agentData"></param> | 365 | /// <param name="agentData"></param> |
366 | /// <returns></returns> | 366 | /// <returns></returns> |
367 | public static TestClient AddClient(Scene scene, AgentCircuitData agentData) | 367 | public static ScenePresence AddScenePresence(Scene scene, AgentCircuitData agentData) |
368 | { | 368 | { |
369 | string reason; | 369 | string reason; |
370 | 370 | ||
@@ -386,7 +386,7 @@ namespace OpenSim.Tests.Common | |||
386 | scp.CompleteMovement(client); | 386 | scp.CompleteMovement(client); |
387 | //scp.MakeRootAgent(new Vector3(90, 90, 90), true); | 387 | //scp.MakeRootAgent(new Vector3(90, 90, 90), true); |
388 | 388 | ||
389 | return client; | 389 | return scp; |
390 | } | 390 | } |
391 | 391 | ||
392 | /// <summary> | 392 | /// <summary> |