diff options
author | Teravus Ovares | 2008-12-09 11:11:16 +0000 |
---|---|---|
committer | Teravus Ovares | 2008-12-09 11:11:16 +0000 |
commit | 3844e73d2742f4dee633bd2b5a8eb7e1a0d524f9 (patch) | |
tree | 11762c8bd9aa512d52de004e46e83a1e8e51e8a9 /OpenSim/Region/ScriptEngine/Shared/Api/Implementation | |
parent | clean up some old debugging code (diff) | |
download | opensim-SC_OLD-3844e73d2742f4dee633bd2b5a8eb7e1a0d524f9.zip opensim-SC_OLD-3844e73d2742f4dee633bd2b5a8eb7e1a0d524f9.tar.gz opensim-SC_OLD-3844e73d2742f4dee633bd2b5a8eb7e1a0d524f9.tar.bz2 opensim-SC_OLD-3844e73d2742f4dee633bd2b5a8eb7e1a0d524f9.tar.xz |
* Gerhard's patch m2781. Does some initial work for setting up llVolumeDetect.
* Warning! Physics API change. This means that the NBodySimulation needs to be updated!
* PhysicsActor -> void SetVolumeDetect(int) needs to go into classes that use PhysicsActor as their base class.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Implementation')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 8 |
1 files changed, 7 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 a9feb4b..43ffb30 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -5671,7 +5671,13 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
5671 | public void llVolumeDetect(int detect) | 5671 | public void llVolumeDetect(int detect) |
5672 | { | 5672 | { |
5673 | m_host.AddScriptLPS(1); | 5673 | m_host.AddScriptLPS(1); |
5674 | NotImplemented("llVolumeDetect"); | 5674 | if (m_host.ParentGroup != null) |
5675 | { | ||
5676 | if (!m_host.ParentGroup.IsDeleted) | ||
5677 | { | ||
5678 | m_host.ParentGroup.RootPart.SetVolumeDetect(detect); | ||
5679 | } | ||
5680 | } | ||
5675 | } | 5681 | } |
5676 | 5682 | ||
5677 | /// <summary> | 5683 | /// <summary> |