* minor: remove useless exception catch

0.6.1-post-fixes
Justin Clarke Casey 2008-11-10 20:10:23 +00:00
parent 0e180b0ad3
commit 13cf89bf3b
2 changed files with 2 additions and 10 deletions

View File

@ -897,15 +897,7 @@ namespace OpenSim.Region.Environment.Scenes
lock (m_parts)
{
part.SetParent(this);
try
{
m_parts.Add(part.UUID, part);
}
catch (Exception e)
{
m_log.Error("Failed to add scene object part", e);
}
m_parts.Add(part.UUID, part);
part.LinkNum = m_parts.Count;

View File

@ -56,7 +56,7 @@ namespace OpenSim.Region.Environment.Scenes.Tests
}
/// <summary>
/// Test adding an object to a scene. Doesn't yet do what it says on the tin.
/// Test adding an object to a scene.
/// </summary>
[Test]
public void TestAddSceneObject()