diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index abd8123..2275c37 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -3930,6 +3930,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
3930 | return; | 3930 | return; |
3931 | } | 3931 | } |
3932 | 3932 | ||
3933 | BreakAllLinks(); | ||
3934 | } | ||
3935 | |||
3936 | public void BreakAllLinks() | ||
3937 | { | ||
3933 | SceneObjectGroup parentPrim = m_host.ParentGroup; | 3938 | SceneObjectGroup parentPrim = m_host.ParentGroup; |
3934 | if (parentPrim.AttachmentPoint != 0) | 3939 | if (parentPrim.AttachmentPoint != 0) |
3935 | return; // Fail silently if attached | 3940 | return; // Fail silently if attached |