From d9a8ecf238344374274b2d5dcc7c4efa3ecd0c11 Mon Sep 17 00:00:00 2001 From: MW Date: Sun, 12 Jul 2009 12:32:39 +0000 Subject: Changed the DeRezObject event so it passes a list of localIDs in one event trigger rather than triggering the event once for every localid in the derez packet. --- OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'OpenSim/Region/Framework/Scenes/Scene.Inventory.cs') diff --git a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs index f65f834..3fe879a 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs @@ -1684,6 +1684,23 @@ namespace OpenSim.Region.Framework.Scenes } } + /// + /// Called when one or more objects are removed from the environment into inventory. + /// + /// + /// + /// + /// + /// + public virtual void DeRezObject(IClientAPI remoteClient, List localIDs, + UUID groupID, DeRezAction action, UUID destinationID) + { + foreach (uint localID in localIDs) + { + DeRezObject(remoteClient, localID, groupID, action, destinationID); + } + } + /// /// Called when an object is removed from the environment into inventory. /// -- cgit v1.1