diff options
Diffstat (limited to 'OpenSim/Tests/Common/Helpers/SceneHelpers.cs')
-rw-r--r-- | OpenSim/Tests/Common/Helpers/SceneHelpers.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Tests/Common/Helpers/SceneHelpers.cs b/OpenSim/Tests/Common/Helpers/SceneHelpers.cs index 8d2108c..03df7ab 100644 --- a/OpenSim/Tests/Common/Helpers/SceneHelpers.cs +++ b/OpenSim/Tests/Common/Helpers/SceneHelpers.cs | |||
@@ -379,7 +379,7 @@ namespace OpenSim.Tests.Common | |||
379 | 379 | ||
380 | // Stage 2: add the new client as a child agent to the scene | 380 | // Stage 2: add the new client as a child agent to the scene |
381 | TestClient client = new TestClient(agentData, scene); | 381 | TestClient client = new TestClient(agentData, scene); |
382 | scene.AddNewClient(client); | 382 | scene.AddNewClient(client, PresenceType.User); |
383 | 383 | ||
384 | // Stage 3: Complete the entrance into the region. This converts the child agent into a root agent. | 384 | // Stage 3: Complete the entrance into the region. This converts the child agent into a root agent. |
385 | ScenePresence scp = scene.GetScenePresence(agentData.AgentID); | 385 | ScenePresence scp = scene.GetScenePresence(agentData.AgentID); |