* minor: remove useless exception catch
parent
0e180b0ad3
commit
13cf89bf3b
|
@ -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;
|
||||
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue