aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/SceneObjectGroup.Inventory.cs
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-04-26 20:31:01 +0000
committerJustin Clarke Casey2008-04-26 20:31:01 +0000
commitaccd89b3f1c7729e6bb34b52e8095baf9c1f440a (patch)
treeeb2b485edb92d5349463ec3626f76e005905bdba /OpenSim/Region/Environment/Scenes/SceneObjectGroup.Inventory.cs
parent* Ooops, attachments now teleport/cross region borders along with your avatar... (diff)
downloadopensim-SC_OLD-accd89b3f1c7729e6bb34b52e8095baf9c1f440a.zip
opensim-SC_OLD-accd89b3f1c7729e6bb34b52e8095baf9c1f440a.tar.gz
opensim-SC_OLD-accd89b3f1c7729e6bb34b52e8095baf9c1f440a.tar.bz2
opensim-SC_OLD-accd89b3f1c7729e6bb34b52e8095baf9c1f440a.tar.xz
* 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
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneObjectGroup.Inventory.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.Inventory.cs b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.Inventory.cs
index efb40dd..2d0c636 100644
--- a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.Inventory.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.Inventory.cs
@@ -198,6 +198,13 @@ namespace OpenSim.Region.Environment.Scenes
198 taskItem.CreatorID = item.Creator; 198 taskItem.CreatorID = item.Creator;
199 taskItem.Type = item.AssetType; 199 taskItem.Type = item.AssetType;
200 taskItem.InvType = item.InvType; 200 taskItem.InvType = item.InvType;
201
202 taskItem.BaseMask = item.BasePermissions;
203 taskItem.OwnerMask = item.CurrentPermissions;
204 // FIXME: ignoring group permissions for now as they aren't stored in item
205 taskItem.EveryoneMask = item.EveryOnePermissions;
206 taskItem.NextOwnerMask = item.NextPermissions;
207
201 part.AddInventoryItem(taskItem); 208 part.AddInventoryItem(taskItem);
202 209
203 return true; 210 return true;