aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.cs1
-rw-r--r--OpenSim/Tests/Common/Mock/TestScene.cs13
2 files changed, 13 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index b650b79..2ed384f 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -213,7 +213,6 @@ namespace OpenSim.Region.Framework.Scenes
213 PhysicsScene.OnJointDeactivated += jointDeactivated; 213 PhysicsScene.OnJointDeactivated += jointDeactivated;
214 PhysicsScene.OnJointErrorMessage += jointErrorMessage; 214 PhysicsScene.OnJointErrorMessage += jointErrorMessage;
215 } 215 }
216
217 } 216 }
218 } 217 }
219 218
diff --git a/OpenSim/Tests/Common/Mock/TestScene.cs b/OpenSim/Tests/Common/Mock/TestScene.cs
index 12cce9d..0be98a2 100644
--- a/OpenSim/Tests/Common/Mock/TestScene.cs
+++ b/OpenSim/Tests/Common/Mock/TestScene.cs
@@ -46,6 +46,19 @@ namespace OpenSim.Tests.Common.Mock
46 dumpAssetsToFile, physicalPrim, SeeIntoRegionFromNeighbor, config, simulatorVersion) 46 dumpAssetsToFile, physicalPrim, SeeIntoRegionFromNeighbor, config, simulatorVersion)
47 { 47 {
48 } 48 }
49
50 /// <summary>
51 /// Temporarily override session authentication for tests (namely teleport).
52 /// </summary>
53 ///
54 /// TODO: This needs to be mocked out properly.
55 ///
56 /// <param name="agent"></param>
57 /// <returns></returns>
58 public override bool AuthenticateUser(AgentCircuitData agent)
59 {
60 return true;
61 }
49 62
50 public AsyncSceneObjectGroupDeleter SceneObjectGroupDeleter 63 public AsyncSceneObjectGroupDeleter SceneObjectGroupDeleter
51 { 64 {