aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs
diff options
context:
space:
mode:
authorMelanie2012-03-22 23:05:58 +0000
committerMelanie2012-03-22 23:05:58 +0000
commited67b698d30efaf5a8e4a5bbbc3ebb887b6944eb (patch)
tree3929bd993c504a3de7697f449e36535aeeddf737 /OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs
parentMerge commit 'df624c13c98b06d57311c1d93ecbd4790553f3b3' into careminster (diff)
parentFix llGiveInventory() so that it checks the destination part for AllowInvento... (diff)
downloadopensim-SC-ed67b698d30efaf5a8e4a5bbbc3ebb887b6944eb.zip
opensim-SC-ed67b698d30efaf5a8e4a5bbbc3ebb887b6944eb.tar.gz
opensim-SC-ed67b698d30efaf5a8e4a5bbbc3ebb887b6944eb.tar.bz2
opensim-SC-ed67b698d30efaf5a8e4a5bbbc3ebb887b6944eb.tar.xz
Merge commit '760010d6fb6aac313d79ce0a4d0016d3809246a0' into careminster
Conflicts: OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs
index ca85d10..ac44ce9 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs
@@ -778,9 +778,9 @@ namespace OpenSim.Region.Framework.Scenes
778 /// A list of inventory items with that name. 778 /// A list of inventory items with that name.
779 /// If no inventory item has that name then an empty list is returned. 779 /// If no inventory item has that name then an empty list is returned.
780 /// </returns> 780 /// </returns>
781 public IList<TaskInventoryItem> GetInventoryItems(string name) 781 public List<TaskInventoryItem> GetInventoryItems(string name)
782 { 782 {
783 IList<TaskInventoryItem> items = new List<TaskInventoryItem>(); 783 List<TaskInventoryItem> items = new List<TaskInventoryItem>();
784 784
785 m_items.LockItemsForRead(true); 785 m_items.LockItemsForRead(true);
786 786
@@ -1295,7 +1295,7 @@ namespace OpenSim.Region.Framework.Scenes
1295 1295
1296 public List<TaskInventoryItem> GetInventoryItems() 1296 public List<TaskInventoryItem> GetInventoryItems()
1297 { 1297 {
1298 List<TaskInventoryItem> ret = new List<TaskInventoryItem>(); 1298 List<TaskInventoryItem> ret = new List<TaskInventoryItem>();
1299 1299
1300 lock (m_items) 1300 lock (m_items)
1301 ret = new List<TaskInventoryItem>(m_items.Values); 1301 ret = new List<TaskInventoryItem>(m_items.Values);