aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tests
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Tests/Common/Setup/SceneSetupHelpers.cs17
1 files changed, 17 insertions, 0 deletions
diff --git a/OpenSim/Tests/Common/Setup/SceneSetupHelpers.cs b/OpenSim/Tests/Common/Setup/SceneSetupHelpers.cs
index 11ebc86..74f177a 100644
--- a/OpenSim/Tests/Common/Setup/SceneSetupHelpers.cs
+++ b/OpenSim/Tests/Common/Setup/SceneSetupHelpers.cs
@@ -99,6 +99,23 @@ namespace OpenSim.Tests.Common.Setup
99 } 99 }
100 100
101 /// <summary> 101 /// <summary>
102 /// Setup the given modules for a given scene.
103 /// </summary>
104 /// <param name="scene"></param>
105 /// <param name="config"></param>
106 /// <param name="modules"></param>
107 public static void SetupSceneModules(Scene scene, IConfigSource config, params IRegionModule[] modules)
108 {
109 foreach (IRegionModule module in modules)
110 {
111 module.Initialise(scene, config);
112 scene.AddModule(module.Name, module);
113 }
114
115 scene.SetModuleInterfaces();
116 }
117
118 /// <summary>
102 /// Generate some standard agent connection data. 119 /// Generate some standard agent connection data.
103 /// </summary> 120 /// </summary>
104 /// <param name="agentId"></param> 121 /// <param name="agentId"></param>