diff options
Changed the DeRezObject event so it passes a list<uint> of localIDs in one event trigger rather than triggering the event once for every localid in the derez packet.
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.Inventory.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | 17 |
1 files changed, 17 insertions, 0 deletions
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 | |||
1684 | } | 1684 | } |
1685 | } | 1685 | } |
1686 | 1686 | ||
1687 | /// <summary> | ||
1688 | /// Called when one or more objects are removed from the environment into inventory. | ||
1689 | /// </summary> | ||
1690 | /// <param name="remoteClient"></param> | ||
1691 | /// <param name="localID"></param> | ||
1692 | /// <param name="groupID"></param> | ||
1693 | /// <param name="action"></param> | ||
1694 | /// <param name="destinationID"></param> | ||
1695 | public virtual void DeRezObject(IClientAPI remoteClient, List<uint> localIDs, | ||
1696 | UUID groupID, DeRezAction action, UUID destinationID) | ||
1697 | { | ||
1698 | foreach (uint localID in localIDs) | ||
1699 | { | ||
1700 | DeRezObject(remoteClient, localID, groupID, action, destinationID); | ||
1701 | } | ||
1702 | } | ||
1703 | |||
1687 | /// <summary> | 1704 | /// <summary> |
1688 | /// Called when an object is removed from the environment into inventory. | 1705 | /// Called when an object is removed from the environment into inventory. |
1689 | /// </summary> | 1706 | /// </summary> |