diff options
author | Charles Krinke | 2008-06-26 23:37:21 +0000 |
---|---|---|
committer | Charles Krinke | 2008-06-26 23:37:21 +0000 |
commit | 176efe3f0680aa7e1c46d9eb0fc1ead762512ac3 (patch) | |
tree | c91ecebc7898b5d0dbb833316f532dd5a036c3df /OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs | |
parent | Mantis#1603. Thank you, Matth for a patch to llGiveInventory (diff) | |
download | opensim-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/Common/LSL_BuiltIn_Commands.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs | 7 |
1 files changed, 6 insertions, 1 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() |