* Refactor: Collapses parts of different code paths in scene used when deleting and unlinking an object

This commit is contained in:
Justin Clarke Casey
2008-05-25 00:09:08 +00:00
parent 0ee69707ea
commit bc92d72828
4 changed files with 27 additions and 40 deletions

View File

@@ -1744,9 +1744,7 @@ namespace OpenSim.Region.Environment.Scenes
part.ClearUndoState();
}
DetachFromBackup(objectGroup);
m_scene.DeleteEntity(objectGroup.UUID);
m_scene.UnlinkSceneObject(objectGroup.UUID);
// TODO Deleting the parts may cause problems later on if they have already
// made it into the update queue. However, sending out updates for those parts is now