Make the AsyncSceneObjectDeleter send a list of kills. This will make large

marquee-selected deletions of single prims or small link sets nearly
instantaneous
remove-scene-viewer
Melanie 2011-11-06 20:43:49 +00:00
parent c7dd7b13a2
commit 559e6e52f5
1 changed files with 7 additions and 1 deletions

View File

@ -104,8 +104,14 @@ namespace OpenSim.Region.Framework.Scenes
// better than losing the object for now.
if (permissionToDelete)
{
List<uint> killIDs = new List<uint>();
foreach (SceneObjectGroup g in objectGroups)
g.DeleteGroupFromScene(false);
{ killIDs.Add(g.LocalId);
g.DeleteGroupFromScene(true);
}
m_scene.SendKillObject(killIDs);
}
}