aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine
diff options
context:
space:
mode:
authorTeravus Ovares2008-12-09 11:11:16 +0000
committerTeravus Ovares2008-12-09 11:11:16 +0000
commit3844e73d2742f4dee633bd2b5a8eb7e1a0d524f9 (patch)
tree11762c8bd9aa512d52de004e46e83a1e8e51e8a9 /OpenSim/Region/ScriptEngine
parentclean up some old debugging code (diff)
downloadopensim-SC-3844e73d2742f4dee633bd2b5a8eb7e1a0d524f9.zip
opensim-SC-3844e73d2742f4dee633bd2b5a8eb7e1a0d524f9.tar.gz
opensim-SC-3844e73d2742f4dee633bd2b5a8eb7e1a0d524f9.tar.bz2
opensim-SC-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')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs8
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>