diff options
author | Melanie | 2010-03-03 02:07:03 +0000 |
---|---|---|
committer | Melanie | 2010-03-03 02:07:03 +0000 |
commit | 028a87fe37002e7a0611f66babf1deee46c83804 (patch) | |
tree | 387aec499fd60c2012bed8148e6a2ddc847c3d95 /OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs | |
parent | Revert "test" (diff) | |
parent | Fixes Region.Framework tests. Although these tests don't fail, they need to b... (diff) | |
download | opensim-SC-028a87fe37002e7a0611f66babf1deee46c83804.zip opensim-SC-028a87fe37002e7a0611f66babf1deee46c83804.tar.gz opensim-SC-028a87fe37002e7a0611f66babf1deee46c83804.tar.bz2 opensim-SC-028a87fe37002e7a0611f66babf1deee46c83804.tar.xz |
Merge branch 'master' into careminster-presence-refactor
This brings careminster on the level of master. To be tested
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs index 3317dd3..013285f 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs | |||
@@ -34,7 +34,6 @@ using System.Reflection; | |||
34 | using OpenMetaverse; | 34 | using OpenMetaverse; |
35 | using log4net; | 35 | using log4net; |
36 | using OpenSim.Framework; | 36 | using OpenSim.Framework; |
37 | using OpenSim.Framework.Communications.Cache; | ||
38 | using OpenSim.Region.Framework.Interfaces; | 37 | using OpenSim.Region.Framework.Interfaces; |
39 | using OpenSim.Region.Framework.Scenes.Scripting; | 38 | using OpenSim.Region.Framework.Scenes.Scripting; |
40 | 39 | ||
@@ -318,8 +317,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
318 | } | 317 | } |
319 | } | 318 | } |
320 | 319 | ||
321 | static System.Text.ASCIIEncoding enc = new System.Text.ASCIIEncoding(); | ||
322 | |||
323 | private void RestoreSavedScriptState(UUID oldID, UUID newID) | 320 | private void RestoreSavedScriptState(UUID oldID, UUID newID) |
324 | { | 321 | { |
325 | IScriptModule[] engines = m_part.ParentGroup.Scene.RequestModuleInterfaces<IScriptModule>(); | 322 | IScriptModule[] engines = m_part.ParentGroup.Scene.RequestModuleInterfaces<IScriptModule>(); |
@@ -585,7 +582,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
585 | m_items.TryGetValue(itemId, out item); | 582 | m_items.TryGetValue(itemId, out item); |
586 | m_items.LockItemsForRead(false); | 583 | m_items.LockItemsForRead(false); |
587 | return item; | 584 | return item; |
588 | } | 585 | } |
589 | 586 | ||
590 | /// <summary> | 587 | /// <summary> |
591 | /// Get inventory items by name. | 588 | /// Get inventory items by name. |
@@ -594,7 +591,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
594 | /// <returns> | 591 | /// <returns> |
595 | /// A list of inventory items with that name. | 592 | /// A list of inventory items with that name. |
596 | /// If no inventory item has that name then an empty list is returned. | 593 | /// If no inventory item has that name then an empty list is returned. |
597 | /// </returns> | 594 | /// </returns> |
598 | public IList<TaskInventoryItem> GetInventoryItems(string name) | 595 | public IList<TaskInventoryItem> GetInventoryItems(string name) |
599 | { | 596 | { |
600 | IList<TaskInventoryItem> items = new List<TaskInventoryItem>(); | 597 | IList<TaskInventoryItem> items = new List<TaskInventoryItem>(); |