aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scripting/ScriptUtils.cs15
1 files changed, 0 insertions, 15 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scripting/ScriptUtils.cs b/OpenSim/Region/Framework/Scenes/Scripting/ScriptUtils.cs
index d8aa258..f08ba59 100644
--- a/OpenSim/Region/Framework/Scenes/Scripting/ScriptUtils.cs
+++ b/OpenSim/Region/Framework/Scenes/Scripting/ScriptUtils.cs
@@ -82,7 +82,6 @@ namespace OpenSim.Region.Framework.Scenes.Scripting
82 return key; 82 return key;
83 } 83 }
84 84
85
86 /// <summary> 85 /// <summary>
87 /// Return the UUID of the asset matching the specified key or name 86 /// Return the UUID of the asset matching the specified key or name
88 /// and asset type. 87 /// and asset type.
@@ -101,20 +100,6 @@ namespace OpenSim.Region.Framework.Scenes.Scripting
101 if (item != null && item.Type == (int)type) 100 if (item != null && item.Type == (int)type)
102 key = item.AssetID; 101 key = item.AssetID;
103 } 102 }
104 else
105 {
106 lock (part.TaskInventory)
107 {
108 foreach (KeyValuePair<UUID, TaskInventoryItem> item in part.TaskInventory)
109 {
110 if (item.Value.Type == (int)type && item.Value.Name == identifier)
111 {
112 key = item.Value.ItemID;
113 break;
114 }
115 }
116 }
117 }
118 103
119 return key; 104 return key;
120 } 105 }