diff options
author | UbitUmarov | 2018-12-19 05:40:18 +0000 |
---|---|---|
committer | UbitUmarov | 2018-12-19 05:40:18 +0000 |
commit | 23d03517a982634f11dc807ffa4607474e17fa02 (patch) | |
tree | 90fb225fe64226ccf7d603f95349689b2259ef92 /OpenSim/Region/ScriptEngine/Shared/Api | |
parent | let osGetPrimitiveParams also return sitting avatar informationg, if PRIM_LIN... (diff) | |
download | opensim-SC-23d03517a982634f11dc807ffa4607474e17fa02.zip opensim-SC-23d03517a982634f11dc807ffa4607474e17fa02.tar.gz opensim-SC-23d03517a982634f11dc807ffa4607474e17fa02.tar.bz2 opensim-SC-23d03517a982634f11dc807ffa4607474e17fa02.tar.xz |
LINK_ALL_CHILDREN includes sitting avatars
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 4 |
1 files changed, 4 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 66b209c..4d71cc8 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -753,6 +753,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
753 | if (ret.Contains(part.ParentGroup.RootPart)) | 753 | if (ret.Contains(part.ParentGroup.RootPart)) |
754 | ret.Remove(part.ParentGroup.RootPart); | 754 | ret.Remove(part.ParentGroup.RootPart); |
755 | 755 | ||
756 | List<ScenePresence> avs = part.ParentGroup.GetSittingAvatars(); | ||
757 | if(avs!= null && avs.Count > 0) | ||
758 | ret.AddRange(avs); | ||
759 | |||
756 | return ret; | 760 | return ret; |
757 | 761 | ||
758 | case ScriptBaseClass.LINK_THIS: | 762 | case ScriptBaseClass.LINK_THIS: |