diff options
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/Examples/SimpleApp/Program.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/Examples/SimpleApp/Program.cs b/OpenSim/Region/Examples/SimpleApp/Program.cs index 50b0780..db71578 100644 --- a/OpenSim/Region/Examples/SimpleApp/Program.cs +++ b/OpenSim/Region/Examples/SimpleApp/Program.cs | |||
@@ -47,11 +47,14 @@ namespace SimpleApp | |||
47 | { | 47 | { |
48 | base.StartUp(); | 48 | base.StartUp(); |
49 | 49 | ||
50 | m_commsManager = new CommunicationsLocal(m_networkServersInfo, m_httpServer, m_assetCache); | ||
51 | |||
50 | m_log.Notice(m_log.LineInfo); | 52 | m_log.Notice(m_log.LineInfo); |
51 | 53 | ||
52 | ScenePresence.PhysicsEngineFlying = true; | 54 | ScenePresence.PhysicsEngineFlying = true; |
53 | 55 | ||
54 | IPEndPoint internalEndPoint = new IPEndPoint(IPAddress.Parse("127.0.0.1"), 9000); | 56 | IPEndPoint internalEndPoint = new IPEndPoint(IPAddress.Parse("127.0.0.1"), 9000); |
57 | |||
55 | RegionInfo regionInfo = new RegionInfo(1000, 1000, internalEndPoint, "localhost"); | 58 | RegionInfo regionInfo = new RegionInfo(1000, 1000, internalEndPoint, "localhost"); |
56 | regionInfo.DataStore = "simpleapp_datastore.yap"; | 59 | regionInfo.DataStore = "simpleapp_datastore.yap"; |
57 | 60 | ||
@@ -67,7 +70,7 @@ namespace SimpleApp | |||
67 | LLVector3 pos = new LLVector3(138, 129, 27); | 70 | LLVector3 pos = new LLVector3(138, 129, 27); |
68 | 71 | ||
69 | SceneObject sceneObject = new CpuCounterObject(scene, scene.EventManager, LLUUID.Zero, scene.PrimIDAllocate(), pos, shape); | 72 | SceneObject sceneObject = new CpuCounterObject(scene, scene.EventManager, LLUUID.Zero, scene.PrimIDAllocate(), pos, shape); |
70 | scene.AddEntity(sceneObject); | 73 | scene.AddEntity(sceneObject); |
71 | 74 | ||
72 | MyNpcCharacter m_character = new MyNpcCharacter( scene.EventManager ); | 75 | MyNpcCharacter m_character = new MyNpcCharacter( scene.EventManager ); |
73 | scene.AddNewClient(m_character, false); | 76 | scene.AddNewClient(m_character, false); |