aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/SceneObjectPart.Inventory.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneObjectPart.Inventory.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneObjectPart.Inventory.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectPart.Inventory.cs b/OpenSim/Region/Environment/Scenes/SceneObjectPart.Inventory.cs
index 2beb9bb..26e924f 100644
--- a/OpenSim/Region/Environment/Scenes/SceneObjectPart.Inventory.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneObjectPart.Inventory.cs
@@ -329,6 +329,10 @@ namespace OpenSim.Region.Environment.Scenes
329 /// </param> 329 /// </param>
330 protected void AddInventoryItem(string name, TaskInventoryItem item) 330 protected void AddInventoryItem(string name, TaskInventoryItem item)
331 { 331 {
332 name = FindAvailableInventoryName(name);
333 if (name == String.Empty)
334 return;
335
332 item.ParentID = UUID; 336 item.ParentID = UUID;
333 item.ParentPartID = UUID; 337 item.ParentPartID = UUID;
334 338