diff options
Diffstat (limited to 'OpenSim/Tests/Common/Helpers')
-rw-r--r-- | OpenSim/Tests/Common/Helpers/EntityTransferHelpers.cs | 2 | ||||
-rw-r--r-- | OpenSim/Tests/Common/Helpers/SceneHelpers.cs | 11 |
2 files changed, 11 insertions, 2 deletions
diff --git a/OpenSim/Tests/Common/Helpers/EntityTransferHelpers.cs b/OpenSim/Tests/Common/Helpers/EntityTransferHelpers.cs index b215f1e..1f6233d 100644 --- a/OpenSim/Tests/Common/Helpers/EntityTransferHelpers.cs +++ b/OpenSim/Tests/Common/Helpers/EntityTransferHelpers.cs | |||
@@ -120,4 +120,4 @@ namespace OpenSim.Tests.Common | |||
120 | }; | 120 | }; |
121 | } | 121 | } |
122 | } | 122 | } |
123 | } \ No newline at end of file | 123 | } |
diff --git a/OpenSim/Tests/Common/Helpers/SceneHelpers.cs b/OpenSim/Tests/Common/Helpers/SceneHelpers.cs index df8b14c..5cd5b88 100644 --- a/OpenSim/Tests/Common/Helpers/SceneHelpers.cs +++ b/OpenSim/Tests/Common/Helpers/SceneHelpers.cs | |||
@@ -153,6 +153,15 @@ namespace OpenSim.Tests.Common | |||
153 | regInfo.RegionSizeX = sizeX; | 153 | regInfo.RegionSizeX = sizeX; |
154 | regInfo.RegionSizeY = sizeY; | 154 | regInfo.RegionSizeY = sizeY; |
155 | 155 | ||
156 | SceneCommunicationService scs = new SceneCommunicationService(); | ||
157 | |||
158 | PhysicsPluginManager physicsPluginManager = new PhysicsPluginManager(); | ||
159 | physicsPluginManager.LoadPluginsFromAssembly("Physics/OpenSim.Region.Physics.BasicPhysicsPlugin.dll"); | ||
160 | Vector3 regionExtent = new Vector3(regInfo.RegionSizeX, regInfo.RegionSizeY, regInfo.RegionSizeZ); | ||
161 | PhysicsScene physicsScene | ||
162 | = physicsPluginManager.GetPhysicsScene( | ||
163 | "basicphysics", "ZeroMesher", new IniConfigSource(), "test", regionExtent); | ||
164 | |||
156 | TestScene testScene = new TestScene( | 165 | TestScene testScene = new TestScene( |
157 | regInfo, m_acm, SimDataService, m_estateDataService, configSource, null); | 166 | regInfo, m_acm, SimDataService, m_estateDataService, configSource, null); |
158 | 167 | ||
@@ -201,7 +210,7 @@ namespace OpenSim.Tests.Common | |||
201 | testScene.SetModuleInterfaces(); | 210 | testScene.SetModuleInterfaces(); |
202 | 211 | ||
203 | testScene.LandChannel = new TestLandChannel(testScene); | 212 | testScene.LandChannel = new TestLandChannel(testScene); |
204 | testScene.LoadWorldMap(); | 213 | testScene.LoadWorldMap(); |
205 | 214 | ||
206 | testScene.RegionInfo.EstateSettings = new EstateSettings(); | 215 | testScene.RegionInfo.EstateSettings = new EstateSettings(); |
207 | testScene.LoginsEnabled = true; | 216 | testScene.LoginsEnabled = true; |