aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/Tests/SceneTestUtils.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Tests/SceneTestUtils.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/Tests/SceneTestUtils.cs7
1 files changed, 6 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Tests/SceneTestUtils.cs b/OpenSim/Region/Environment/Scenes/Tests/SceneTestUtils.cs
index 26c148f..15053f1 100644
--- a/OpenSim/Region/Environment/Scenes/Tests/SceneTestUtils.cs
+++ b/OpenSim/Region/Environment/Scenes/Tests/SceneTestUtils.cs
@@ -30,6 +30,7 @@ using OpenMetaverse;
30using OpenSim.Framework; 30using OpenSim.Framework;
31using OpenSim.Framework.Communications; 31using OpenSim.Framework.Communications;
32using OpenSim.Framework.Servers; 32using OpenSim.Framework.Servers;
33using OpenSim.Region.Physics.Manager;
33using OpenSim.Region.Environment.Scenes; 34using OpenSim.Region.Environment.Scenes;
34 35
35namespace OpenSim.Region.Environment.Scenes.Tests 36namespace OpenSim.Region.Environment.Scenes.Tests
@@ -50,7 +51,7 @@ namespace OpenSim.Region.Environment.Scenes.Tests
50 regInfo.ExternalHostName = "1.2.3.4"; 51 regInfo.ExternalHostName = "1.2.3.4";
51 52
52 AgentCircuitManager acm = new AgentCircuitManager(); 53 AgentCircuitManager acm = new AgentCircuitManager();
53 CommunicationsManager cm = new CommunicationsManager(null, null, null, false, null); 54 CommunicationsManager cm = new TestCommunicationsManager();
54 //SceneCommunicationService scs = new SceneCommunicationService(cm); 55 //SceneCommunicationService scs = new SceneCommunicationService(cm);
55 SceneCommunicationService scs = null; 56 SceneCommunicationService scs = null;
56 StorageManager sm = new OpenSim.Region.Environment.StorageManager("OpenSim.Data.Null.dll", "", ""); 57 StorageManager sm = new OpenSim.Region.Environment.StorageManager("OpenSim.Data.Null.dll", "", "");
@@ -62,6 +63,10 @@ namespace OpenSim.Region.Environment.Scenes.Tests
62 63
63 testScene.LandChannel = new TestLandChannel(); 64 testScene.LandChannel = new TestLandChannel();
64 65
66 PhysicsPluginManager physicsPluginManager = new PhysicsPluginManager();
67 physicsPluginManager.LoadPlugins();
68 testScene.PhysicsScene = physicsPluginManager.GetPhysicsScene("basicphysics", "ZeroMesher", configSource);
69
65 return testScene; 70 return testScene;
66 } 71 }
67 72