Make single item inventory gives work across regions
parent
9b82b52096
commit
48e87b6448
|
@ -790,11 +790,11 @@ namespace OpenSim.Framework.Communications.Cache
|
||||||
|
|
||||||
if (m_commsManager.SecureInventoryService != null)
|
if (m_commsManager.SecureInventoryService != null)
|
||||||
{
|
{
|
||||||
m_commsManager.SecureInventoryService.QueryItem(item, m_session_id);
|
itemInfo = m_commsManager.SecureInventoryService.QueryItem(item, m_session_id);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
m_commsManager.InventoryService.QueryItem(item);
|
itemInfo = m_commsManager.InventoryService.QueryItem(item);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (itemInfo != null)
|
if (itemInfo != null)
|
||||||
|
|
|
@ -525,8 +525,6 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
itemCopy.SalePrice = item.SalePrice;
|
itemCopy.SalePrice = item.SalePrice;
|
||||||
itemCopy.SaleType = item.SaleType;
|
itemCopy.SaleType = item.SaleType;
|
||||||
|
|
||||||
itemCopy.CreationDate = item.CreationDate;
|
|
||||||
|
|
||||||
recipientUserInfo.AddItem(itemCopy);
|
recipientUserInfo.AddItem(itemCopy);
|
||||||
|
|
||||||
if (!Permissions.BypassPermissions())
|
if (!Permissions.BypassPermissions())
|
||||||
|
|
Loading…
Reference in New Issue