From 2da8a7c12818f7944ce2cc2b2cb324439e48daa2 Mon Sep 17 00:00:00 2001 From: lbsa71 Date: Fri, 20 Jul 2007 14:16:12 +0000 Subject: * Fixed an config issue (log not initialized in RegionInfo config) * Added LineInfo stacktrace parser to LogBase (not used yet though) --- OpenSim/Region/Application/OpenSimMain.cs | 1 + OpenSim/Region/ClientStack/RegionApplicationBase.cs | 3 +-- OpenSim/Region/Examples/SimpleApp/Program.cs | 5 +++++ 3 files changed, 7 insertions(+), 2 deletions(-) (limited to 'OpenSim/Region') diff --git a/OpenSim/Region/Application/OpenSimMain.cs b/OpenSim/Region/Application/OpenSimMain.cs index 3c11b90..6b7026c 100644 --- a/OpenSim/Region/Application/OpenSimMain.cs +++ b/OpenSim/Region/Application/OpenSimMain.cs @@ -151,6 +151,7 @@ namespace OpenSim protected override void Initialize() { + m_networkServersInfo = new NetworkServersInfo("NETWORK SERVERS INFO", "network_servers_information.xml"); m_httpServerPort = m_networkServersInfo.HttpListenerPort; m_assetCache = new AssetCache("OpenSim.Region.GridInterfaces.Local.dll", m_networkServersInfo.AssetURL, m_networkServersInfo.AssetSendKey); } diff --git a/OpenSim/Region/ClientStack/RegionApplicationBase.cs b/OpenSim/Region/ClientStack/RegionApplicationBase.cs index 8de9bde..4a1fd99 100644 --- a/OpenSim/Region/ClientStack/RegionApplicationBase.cs +++ b/OpenSim/Region/ClientStack/RegionApplicationBase.cs @@ -67,10 +67,9 @@ namespace OpenSim.Region.ClientStack { ClientView.TerrainManager = new TerrainManager(new SecondLife()); - m_networkServersInfo = new NetworkServersInfo("NETWORK SERVERS INFO", "network_servers_information.xml"); Initialize(); - + ScenePresence.LoadTextureFile("avatar-texture.dat"); m_httpServer = new BaseHttpServer( m_httpServerPort ); diff --git a/OpenSim/Region/Examples/SimpleApp/Program.cs b/OpenSim/Region/Examples/SimpleApp/Program.cs index 82dba0e..5c16d6b 100644 --- a/OpenSim/Region/Examples/SimpleApp/Program.cs +++ b/OpenSim/Region/Examples/SimpleApp/Program.cs @@ -34,6 +34,9 @@ namespace SimpleApp StartLog(); + m_networkServersInfo = new NetworkServersInfo( ); + + LocalAssetServer assetServer = new LocalAssetServer(); assetServer.SetServerInfo("http://localhost:8003/", ""); @@ -46,6 +49,8 @@ namespace SimpleApp m_commsManager = new CommunicationsLocal(m_networkServersInfo, m_httpServer); + m_log.Notice(m_log.LineInfo); + ScenePresence.PhysicsEngineFlying = true; IPEndPoint internalEndPoint = new IPEndPoint(IPAddress.Parse("127.0.0.1"), 9000); -- cgit v1.1