try to preserve permitions on object returns

avinationmerge
UbitUmarov 2014-11-08 02:02:45 +00:00
parent fdb0598446
commit c5dcc0d8c1
1 changed files with 5 additions and 1 deletions

View File

@ -512,6 +512,10 @@ namespace OpenSim.Region.CoreModules.Framework.InventoryAccess
item.Name = asset.Name;
item.AssetType = asset.Type;
//preserve perms on return
if(DeRezAction.Return == action)
AddPermissions(item, objlist[0], objlist, null);
else
AddPermissions(item, objlist[0], objlist, remoteClient);
m_Scene.AddInventoryItem(item);