aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Examples/SimpleApp/Program.cs
diff options
context:
space:
mode:
authorMW2007-07-13 16:12:38 +0000
committerMW2007-07-13 16:12:38 +0000
commitfcc7f86427f14f9a43a918f30cdf97b438c49a77 (patch)
treeaad3ff8beb98e63365db9b6982fff14817aad2f6 /OpenSim/Region/Examples/SimpleApp/Program.cs
parentrename file to not have spaces in it (diff)
downloadopensim-SC_OLD-fcc7f86427f14f9a43a918f30cdf97b438c49a77.zip
opensim-SC_OLD-fcc7f86427f14f9a43a918f30cdf97b438c49a77.tar.gz
opensim-SC_OLD-fcc7f86427f14f9a43a918f30cdf97b438c49a77.tar.bz2
opensim-SC_OLD-fcc7f86427f14f9a43a918f30cdf97b438c49a77.tar.xz
Changed simpleApp to use basic physics.
Done some work of fixing primitive/SceneObject copying. Set DefaultHome region to 1000,1000.
Diffstat (limited to 'OpenSim/Region/Examples/SimpleApp/Program.cs')
-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();