aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Examples/SimpleApp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Examples/SimpleApp/Program.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/Examples/SimpleApp/Program.cs b/OpenSim/Region/Examples/SimpleApp/Program.cs
index 7770538..ce3c056 100644
--- a/OpenSim/Region/Examples/SimpleApp/Program.cs
+++ b/OpenSim/Region/Examples/SimpleApp/Program.cs
@@ -41,6 +41,9 @@ namespace SimpleApp
41 assetServer.SetReceiver(this); 41 assetServer.SetReceiver(this);
42 42
43 AssetCache assetCache = new AssetCache(assetServer); 43 AssetCache assetCache = new AssetCache(assetServer);
44
45 PhysicsManager physManager = new PhysicsManager();
46 physManager.LoadPlugins();
44 47
45 UDPServer udpServer = new UDPServer( internalEndPoint.Port, assetCache, inventoryCache, m_log, m_circuitManager ); 48 UDPServer udpServer = new UDPServer( internalEndPoint.Port, assetCache, inventoryCache, m_log, m_circuitManager );
46 PacketServer packetServer = new PacketServer(udpServer); 49 PacketServer packetServer = new PacketServer(udpServer);
@@ -55,7 +58,7 @@ namespace SimpleApp
55 RegionInfo regionInfo = new RegionInfo( 1000, 1000, internalEndPoint, "127.0.0.1" ); 58 RegionInfo regionInfo = new RegionInfo( 1000, 1000, internalEndPoint, "127.0.0.1" );
56 59
57 MyWorld world = new MyWorld(packetServer.ClientManager, regionInfo, m_circuitManager, communicationsManager, assetCache, httpServer); 60 MyWorld world = new MyWorld(packetServer.ClientManager, regionInfo, m_circuitManager, communicationsManager, assetCache, httpServer);
58 world.PhysScene = PhysicsScene.Null; 61 world.PhysScene = physManager.GetPhysicsScene("basicphysics"); //PhysicsScene.Null;
59 udpServer.LocalWorld = world; 62 udpServer.LocalWorld = world;
60 63
61 httpServer.Start(); 64 httpServer.Start();