mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
* Removed some catch-all-ignores from UDPServer in an attempt to look for #305.
* Minor work towards abstracting terrain.
This commit is contained in:
@@ -189,9 +189,9 @@ namespace OpenSim.Region.ClientStack
|
||||
|
||||
return;
|
||||
}
|
||||
catch (ObjectDisposedException)
|
||||
catch (ObjectDisposedException e)
|
||||
{
|
||||
//m_log.Debug("[UDPSERVER]: " + e.ToString());
|
||||
m_log.Debug("[UDPSERVER]: " + e.ToString());
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -201,9 +201,9 @@ namespace OpenSim.Region.ClientStack
|
||||
{
|
||||
packet = PacketPool.Instance.GetPacket(RecvBuffer, ref packetEnd, ZeroBuffer);
|
||||
}
|
||||
catch (Exception)
|
||||
catch (Exception e)
|
||||
{
|
||||
|
||||
m_log.Debug("[UDPSERVER]: " + e.ToString());
|
||||
}
|
||||
|
||||
if (packet != null)
|
||||
|
||||
@@ -32,11 +32,12 @@ using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using OpenSim.Framework;
|
||||
using OpenSim.Framework.Console;
|
||||
using OpenSim.Region.Environment.Modules;
|
||||
using OpenSim.Region.Environment.Interfaces;
|
||||
using OpenSim.Region.Environment.Scenes;
|
||||
using libsecondlife;
|
||||
|
||||
namespace OpenSim.Region.Environment.Modules
|
||||
namespace OpenSim.Region.Environment.Modules.Terrain
|
||||
{
|
||||
/// <summary>
|
||||
/// A new version of the old Channel class, simplified
|
||||
@@ -31,6 +31,7 @@ using OpenSim.Framework;
|
||||
using OpenSim.Framework.Communications.Cache;
|
||||
using OpenSim.Framework.Console;
|
||||
using OpenSim.Region.Terrain;
|
||||
using OpenSim.Region.Environment.Interfaces;
|
||||
|
||||
namespace OpenSim.Region.Environment.Scenes
|
||||
{
|
||||
@@ -58,6 +59,7 @@ namespace OpenSim.Region.Environment.Scenes
|
||||
protected RegionInfo m_regInfo;
|
||||
|
||||
public TerrainEngine Terrain;
|
||||
public ITerrainChannel Heightmap;
|
||||
|
||||
protected EventManager m_eventManager;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user