aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ScriptEngine')
-rw-r--r--OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs7
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs6
2 files changed, 11 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
index 366b20c..b5a3ad9 100644
--- a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
+++ b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
@@ -3185,7 +3185,12 @@ namespace OpenSim.Region.ScriptEngine.Common
3185 public void llAllowInventoryDrop(int add) 3185 public void llAllowInventoryDrop(int add)
3186 { 3186 {
3187 m_host.AddScriptLPS(1); 3187 m_host.AddScriptLPS(1);
3188 NotImplemented("llAllowInventoryDrop"); 3188
3189 if(add != 0)
3190 m_host.ParentGroup.RootPart.AllowedDrop = true;
3191 else
3192 m_host.ParentGroup.RootPart.AllowedDrop = false;
3193
3189 } 3194 }
3190 3195
3191 public LSL_Types.Vector3 llGetSunDirection() 3196 public LSL_Types.Vector3 llGetSunDirection()
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()