diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs index d2bd698..ed087a4 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | |||
@@ -897,15 +897,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
897 | lock (m_parts) | 897 | lock (m_parts) |
898 | { | 898 | { |
899 | part.SetParent(this); | 899 | part.SetParent(this); |
900 | 900 | m_parts.Add(part.UUID, part); | |
901 | try | ||
902 | { | ||
903 | m_parts.Add(part.UUID, part); | ||
904 | } | ||
905 | catch (Exception e) | ||
906 | { | ||
907 | m_log.Error("Failed to add scene object part", e); | ||
908 | } | ||
909 | 901 | ||
910 | part.LinkNum = m_parts.Count; | 902 | part.LinkNum = m_parts.Count; |
911 | 903 | ||