mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 01:35:46 +08:00
Make the AsyncSceneObjectDeleter send a list of kills. This will make large
marquee-selected deletions of single prims or small link sets nearly instantaneous
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user