aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs
diff options
context:
space:
mode:
authorCharles Krinke2008-06-26 23:37:21 +0000
committerCharles Krinke2008-06-26 23:37:21 +0000
commit176efe3f0680aa7e1c46d9eb0fc1ead762512ac3 (patch)
treec91ecebc7898b5d0dbb833316f532dd5a036c3df /OpenSim/Region/Environment/Scenes/Scene.Inventory.cs
parentMantis#1603. Thank you, Matth for a patch to llGiveInventory (diff)
downloadopensim-SC-176efe3f0680aa7e1c46d9eb0fc1ead762512ac3.zip
opensim-SC-176efe3f0680aa7e1c46d9eb0fc1ead762512ac3.tar.gz
opensim-SC-176efe3f0680aa7e1c46d9eb0fc1ead762512ac3.tar.bz2
opensim-SC-176efe3f0680aa7e1c46d9eb0fc1ead762512ac3.tar.xz
Mantis#1610. Thank you, Melanie for a patch that:
Implements the beginning of llInventoryDrop. Doesn't cover the actual dropping yet, just the permissions for it.
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Scene.Inventory.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/Scene.Inventory.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs
index eac74c2..b67de7e 100644
--- a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs
+++ b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs
@@ -1009,8 +1009,7 @@ namespace OpenSim.Region.Environment.Scenes
1009 return; 1009 return;
1010 } 1010 }
1011 1011
1012 // todo: also check llAllowInventoryDrop when implemented 1012 if(part.OwnerID != destPart.OwnerID && (part.GetEffectiveObjectFlags() & (uint)LLObject.ObjectFlags.AllowInventoryDrop) == 0)
1013 if(part.OwnerID != destPart.OwnerID)
1014 { 1013 {
1015 // object cannot copy items to an object owned by a different owner 1014 // object cannot copy items to an object owned by a different owner
1016 // unless llAllowInventoryDrop has been called 1015 // unless llAllowInventoryDrop has been called