mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 17:55:48 +08:00
* 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
This commit is contained in:
@@ -128,7 +128,8 @@ namespace OpenSim.Region.Environment.Scenes
|
||||
{
|
||||
if( m_rootPart == null )
|
||||
{
|
||||
throw new NullReferenceException(string.Format("Object {0} has no root part.", m_uuid));
|
||||
throw new NullReferenceException(
|
||||
string.Format("[SCENE OBJECT GROUP]: Object {0} has no root part.", m_uuid));
|
||||
}
|
||||
|
||||
return m_rootPart.GroupPosition;
|
||||
@@ -164,7 +165,7 @@ namespace OpenSim.Region.Environment.Scenes
|
||||
get {
|
||||
if (m_rootPart == null)
|
||||
{
|
||||
m_log.Error("[PRIMGROUP]: Unable to find the rootpart for a LocalId Request!");
|
||||
m_log.Error("[SCENE OBJECT GROUP]: Unable to find the rootpart for a LocalId Request!");
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -1948,7 +1949,7 @@ namespace OpenSim.Region.Environment.Scenes
|
||||
/// Completely delete this group and tell all the scene presences about that deletion.
|
||||
/// </summary>
|
||||
public void DeleteGroup()
|
||||
{
|
||||
{
|
||||
DetachFromBackup(this);
|
||||
|
||||
lock (m_parts)
|
||||
|
||||
Reference in New Issue
Block a user