diff options
Diffstat (limited to 'OpenSim/Region/Examples/SimpleApp/Program.cs')
-rw-r--r-- | OpenSim/Region/Examples/SimpleApp/Program.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Examples/SimpleApp/Program.cs b/OpenSim/Region/Examples/SimpleApp/Program.cs index 5cfc769..87e877c 100644 --- a/OpenSim/Region/Examples/SimpleApp/Program.cs +++ b/OpenSim/Region/Examples/SimpleApp/Program.cs | |||
@@ -47,13 +47,13 @@ namespace SimpleApp | |||
47 | udpServer.ServerListener(); | 47 | udpServer.ServerListener(); |
48 | 48 | ||
49 | ClientView.TerrainManager = new TerrainManager(new SecondLife()); | 49 | ClientView.TerrainManager = new TerrainManager(new SecondLife()); |
50 | BaseHttpServer httpServer = new BaseHttpServer(internalEndPoint.Port); | ||
50 | 51 | ||
51 | NetworkServersInfo serverInfo = new NetworkServersInfo(); | 52 | NetworkServersInfo serverInfo = new NetworkServersInfo(); |
52 | CommunicationsLocal communicationsManager = new CommunicationsLocal(serverInfo); | 53 | CommunicationsLocal communicationsManager = new CommunicationsLocal(serverInfo, httpServer); |
53 | 54 | ||
54 | RegionInfo regionInfo = new RegionInfo( 1000, 1000, internalEndPoint, "127.0.0.1" ); | 55 | RegionInfo regionInfo = new RegionInfo( 1000, 1000, internalEndPoint, "127.0.0.1" ); |
55 | 56 | ||
56 | BaseHttpServer httpServer = new BaseHttpServer( internalEndPoint.Port ); | ||
57 | MyWorld world = new MyWorld(packetServer.ClientManager, regionInfo, m_circuitManager, communicationsManager, assetCache, httpServer); | 57 | MyWorld world = new MyWorld(packetServer.ClientManager, regionInfo, m_circuitManager, communicationsManager, assetCache, httpServer); |
58 | world.PhysScene = PhysicsScene.Null; | 58 | world.PhysScene = PhysicsScene.Null; |
59 | udpServer.LocalWorld = world; | 59 | udpServer.LocalWorld = world; |