aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs6
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs b/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs
index 64a9610..15718d2 100644
--- a/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs
+++ b/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs
@@ -512,7 +512,11 @@ namespace OpenSim.Region.CoreModules.Framework.InventoryAccess
512 item.Name = asset.Name; 512 item.Name = asset.Name;
513 item.AssetType = asset.Type; 513 item.AssetType = asset.Type;
514 514
515 AddPermissions(item, objlist[0], objlist, remoteClient); 515 //preserve perms on return
516 if(DeRezAction.Return == action)
517 AddPermissions(item, objlist[0], objlist, null);
518 else
519 AddPermissions(item, objlist[0], objlist, remoteClient);
516 520
517 m_Scene.AddInventoryItem(item); 521 m_Scene.AddInventoryItem(item);
518 522