diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine')
-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> |