diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs index 38c7e45..90f0708 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | |||
@@ -128,7 +128,8 @@ namespace OpenSim.Region.Environment.Scenes | |||
128 | { | 128 | { |
129 | if( m_rootPart == null ) | 129 | if( m_rootPart == null ) |
130 | { | 130 | { |
131 | throw new NullReferenceException(string.Format("Object {0} has no root part.", m_uuid)); | 131 | throw new NullReferenceException( |
132 | string.Format("[SCENE OBJECT GROUP]: Object {0} has no root part.", m_uuid)); | ||
132 | } | 133 | } |
133 | 134 | ||
134 | return m_rootPart.GroupPosition; | 135 | return m_rootPart.GroupPosition; |
@@ -164,7 +165,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
164 | get { | 165 | get { |
165 | if (m_rootPart == null) | 166 | if (m_rootPart == null) |
166 | { | 167 | { |
167 | m_log.Error("[PRIMGROUP]: Unable to find the rootpart for a LocalId Request!"); | 168 | m_log.Error("[SCENE OBJECT GROUP]: Unable to find the rootpart for a LocalId Request!"); |
168 | return 0; | 169 | return 0; |
169 | } | 170 | } |
170 | 171 | ||
@@ -1948,7 +1949,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
1948 | /// Completely delete this group and tell all the scene presences about that deletion. | 1949 | /// Completely delete this group and tell all the scene presences about that deletion. |
1949 | /// </summary> | 1950 | /// </summary> |
1950 | public void DeleteGroup() | 1951 | public void DeleteGroup() |
1951 | { | 1952 | { |
1952 | DetachFromBackup(this); | 1953 | DetachFromBackup(this); |
1953 | 1954 | ||
1954 | lock (m_parts) | 1955 | lock (m_parts) |