diff options
author | Justin Clark-Casey (justincc) | 2011-02-18 21:54:44 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-02-18 21:54:44 +0000 |
commit | 88da253c947c78e97f78119203e3c2f216a788e2 (patch) | |
tree | 04a541c8255ebb71acdcaa43c4a23735d73648db /OpenSim/Region/Framework/Scenes/Tests/ScenePresenceTests.cs | |
parent | minor: add method doc to a few ScenePresence methods (diff) | |
download | opensim-SC_OLD-88da253c947c78e97f78119203e3c2f216a788e2.zip opensim-SC_OLD-88da253c947c78e97f78119203e3c2f216a788e2.tar.gz opensim-SC_OLD-88da253c947c78e97f78119203e3c2f216a788e2.tar.bz2 opensim-SC_OLD-88da253c947c78e97f78119203e3c2f216a788e2.tar.xz |
Add very basic test which invokes the scene update loop once and checks the frame number.
This makes Scene.Update() match its original description of performing a single update, which also matches the semantics of SOG and ScenePresence.
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Tests/ScenePresenceTests.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Tests/ScenePresenceTests.cs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Tests/ScenePresenceTests.cs b/OpenSim/Region/Framework/Scenes/Tests/ScenePresenceTests.cs index ef52363..8286e4f 100644 --- a/OpenSim/Region/Framework/Scenes/Tests/ScenePresenceTests.cs +++ b/OpenSim/Region/Framework/Scenes/Tests/ScenePresenceTests.cs | |||
@@ -116,9 +116,6 @@ namespace OpenSim.Region.Framework.Scenes.Tests | |||
116 | agent.ChildrenCapSeeds = new Dictionary<ulong, string>(); | 116 | agent.ChildrenCapSeeds = new Dictionary<ulong, string>(); |
117 | agent.child = true; | 117 | agent.child = true; |
118 | 118 | ||
119 | if (scene.PresenceService == null) | ||
120 | Console.WriteLine("Presence Service is null"); | ||
121 | |||
122 | scene.PresenceService.LoginAgent(agent.AgentID.ToString(), agent.SessionID, agent.SecureSessionID); | 119 | scene.PresenceService.LoginAgent(agent.AgentID.ToString(), agent.SessionID, agent.SecureSessionID); |
123 | 120 | ||
124 | string reason; | 121 | string reason; |