Make single item inventory gives work across regions

0.6.5-rc1
Melanie Thielker 2009-03-22 18:25:04 +00:00
parent 9b82b52096
commit 48e87b6448
2 changed files with 2 additions and 4 deletions

View File

@ -790,11 +790,11 @@ namespace OpenSim.Framework.Communications.Cache
if (m_commsManager.SecureInventoryService != null)
{
m_commsManager.SecureInventoryService.QueryItem(item, m_session_id);
itemInfo = m_commsManager.SecureInventoryService.QueryItem(item, m_session_id);
}
else
{
m_commsManager.InventoryService.QueryItem(item);
itemInfo = m_commsManager.InventoryService.QueryItem(item);
}
if (itemInfo != null)

View File

@ -525,8 +525,6 @@ namespace OpenSim.Region.Framework.Scenes
itemCopy.SalePrice = item.SalePrice;
itemCopy.SaleType = item.SaleType;
itemCopy.CreationDate = item.CreationDate;
recipientUserInfo.AddItem(itemCopy);
if (!Permissions.BypassPermissions())