Fix an inventory naming regression

0.6.0-stable
Melanie Thielker 2008-09-08 23:54:52 +00:00
parent 6ca7afabca
commit 19c9ea8ca0
1 changed files with 2 additions and 5 deletions

View File

@ -290,11 +290,7 @@ namespace OpenSim.Region.Environment.Scenes
/// <param name="item"></param>
public void AddInventoryItem(TaskInventoryItem item)
{
string name = FindAvailableInventoryName(item.Name);
if (name == String.Empty)
return;
AddInventoryItem(name, item);
AddInventoryItem(item.Name, item);
}
/// <summary>
@ -335,6 +331,7 @@ namespace OpenSim.Region.Environment.Scenes
item.ParentID = UUID;
item.ParentPartID = UUID;
item.Name = name;
lock (m_taskInventory)
{