* Fix probable partial breakage of delete to inventory in last commit
* Not nulling out parts and the root part allows the code to be simplified0.6.1-post-fixes
parent
d54b6608a7
commit
f16cf12840
|
@ -126,8 +126,7 @@ namespace OpenSim.Region.Environment.Scenes
|
|||
"[SCENE]: Sending deleted object to user's inventory, {0} item(s) remaining.", left);
|
||||
|
||||
x = m_inventoryDeletes.Dequeue();
|
||||
if (!x.objectGroup.IsDeleted)
|
||||
{
|
||||
|
||||
try
|
||||
{
|
||||
m_scene.DeleteToInventory(x.destination,
|
||||
|
@ -138,7 +137,6 @@ namespace OpenSim.Region.Environment.Scenes
|
|||
{
|
||||
m_log.DebugFormat("Exception background deleting object: "+e.ToString());
|
||||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
|
@ -1764,10 +1764,6 @@ namespace OpenSim.Region.Environment.Scenes
|
|||
}
|
||||
}
|
||||
|
||||
// Finally remove the item, for reals this time.
|
||||
if (permissionToDelete)
|
||||
DeleteSceneObject(objectGroup, false);
|
||||
|
||||
return assetID;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue