aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-04-07 17:28:02 +0000
committerJustin Clarke Casey2008-04-07 17:28:02 +0000
commit0e7c4046d3fde862c56b7b5255b48928fa2652e6 (patch)
tree5f41ba1ddaf33ebf9d7aea50cc94aa13c0db7d3b /OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
parent* Minor: log message correction (diff)
downloadopensim-SC_OLD-0e7c4046d3fde862c56b7b5255b48928fa2652e6.zip
opensim-SC_OLD-0e7c4046d3fde862c56b7b5255b48928fa2652e6.tar.gz
opensim-SC_OLD-0e7c4046d3fde862c56b7b5255b48928fa2652e6.tar.bz2
opensim-SC_OLD-0e7c4046d3fde862c56b7b5255b48928fa2652e6.tar.xz
* Nasty hack to reduce the incidence of spurious exceptions where a user deletes a newly rezzed object before the persistence thread gets to it from its queue.
* This should greatly reduce but not eliminate the problem - elimination probably requires a redesign of the prim persistence processes
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs7
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)