aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tests/Common
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Tests/Common')
-rw-r--r--OpenSim/Tests/Common/Setup/SceneSetupHelpers.cs14
1 files changed, 12 insertions, 2 deletions
diff --git a/OpenSim/Tests/Common/Setup/SceneSetupHelpers.cs b/OpenSim/Tests/Common/Setup/SceneSetupHelpers.cs
index 74f177a..44c32ff 100644
--- a/OpenSim/Tests/Common/Setup/SceneSetupHelpers.cs
+++ b/OpenSim/Tests/Common/Setup/SceneSetupHelpers.cs
@@ -96,10 +96,20 @@ namespace OpenSim.Tests.Common.Setup
96 = physicsPluginManager.GetPhysicsScene("basicphysics", "ZeroMesher", configSource, "test"); 96 = physicsPluginManager.GetPhysicsScene("basicphysics", "ZeroMesher", configSource, "test");
97 97
98 return testScene; 98 return testScene;
99 } 99 }
100
101 /// <summary>
102 /// Setup modules for a scene using their default settings.
103 /// </summary>
104 /// <param name="scene"></param>
105 /// <param name="modules"></param>
106 public static void SetupSceneModules(Scene scene, params IRegionModule[] modules)
107 {
108 SetupSceneModules(scene, null, modules);
109 }
100 110
101 /// <summary> 111 /// <summary>
102 /// Setup the given modules for a given scene. 112 /// Setup modules for a scene.
103 /// </summary> 113 /// </summary>
104 /// <param name="scene"></param> 114 /// <param name="scene"></param>
105 /// <param name="config"></param> 115 /// <param name="config"></param>