aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared
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/ScriptEngine/Shared
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/ScriptEngine/Shared')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs6
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
index 1d4a72e..477c6a8 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -3114,7 +3114,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
3114 public void llAllowInventoryDrop(int add) 3114 public void llAllowInventoryDrop(int add)
3115 { 3115 {
3116 m_host.AddScriptLPS(1); 3116 m_host.AddScriptLPS(1);
3117 NotImplemented("llAllowInventoryDrop"); 3117
3118 if(add != 0)
3119 m_host.ParentGroup.RootPart.AllowedDrop = true;
3120 else
3121 m_host.ParentGroup.RootPart.AllowedDrop = false;
3118 } 3122 }
3119 3123
3120 public LSL_Types.Vector3 llGetSunDirection() 3124 public LSL_Types.Vector3 llGetSunDirection()