Make the AsyncSceneObjectDeleter send a list of kills. This will make large
marquee-selected deletions of single prims or small link sets nearly instantaneousremove-scene-viewer
parent
c7dd7b13a2
commit
559e6e52f5
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue