mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 20:05:33 +08:00
* First draft implementation of copying prim inventory items back to agent inventory
* Now, if you own an item in a prim, you should be able to successfully drag it back into your inventory * Temporarily, users which are not owners of the item cannot copy it, even if 'everyone can copy' is set * This is pending fixes/implementation of upstream permission implementation
This commit is contained in:
@@ -198,6 +198,13 @@ namespace OpenSim.Region.Environment.Scenes
|
||||
taskItem.CreatorID = item.Creator;
|
||||
taskItem.Type = item.AssetType;
|
||||
taskItem.InvType = item.InvType;
|
||||
|
||||
taskItem.BaseMask = item.BasePermissions;
|
||||
taskItem.OwnerMask = item.CurrentPermissions;
|
||||
// FIXME: ignoring group permissions for now as they aren't stored in item
|
||||
taskItem.EveryoneMask = item.EveryOnePermissions;
|
||||
taskItem.NextOwnerMask = item.NextPermissions;
|
||||
|
||||
part.AddInventoryItem(taskItem);
|
||||
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user