aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes
diff options
context:
space:
mode:
authorMW2009-07-12 12:32:39 +0000
committerMW2009-07-12 12:32:39 +0000
commitd9a8ecf238344374274b2d5dcc7c4efa3ecd0c11 (patch)
tree8a9a1122f2d0b788934b39871f145b7d8b7e2e01 /OpenSim/Region/Framework/Scenes
parent* Workaround for a bug in Vivox Server r2978, whereby channel-search.channels... (diff)
downloadopensim-SC_OLD-d9a8ecf238344374274b2d5dcc7c4efa3ecd0c11.zip
opensim-SC_OLD-d9a8ecf238344374274b2d5dcc7c4efa3ecd0c11.tar.gz
opensim-SC_OLD-d9a8ecf238344374274b2d5dcc7c4efa3ecd0c11.tar.bz2
opensim-SC_OLD-d9a8ecf238344374274b2d5dcc7c4efa3ecd0c11.tar.xz
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')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.Inventory.cs17
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>