LINK_ALL_CHILDREN includes sitting avatars
parent
5c998f6d60
commit
23d03517a9
|
@ -753,6 +753,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||||
if (ret.Contains(part.ParentGroup.RootPart))
|
if (ret.Contains(part.ParentGroup.RootPart))
|
||||||
ret.Remove(part.ParentGroup.RootPart);
|
ret.Remove(part.ParentGroup.RootPart);
|
||||||
|
|
||||||
|
List<ScenePresence> avs = part.ParentGroup.GetSittingAvatars();
|
||||||
|
if(avs!= null && avs.Count > 0)
|
||||||
|
ret.AddRange(avs);
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
|
|
||||||
case ScriptBaseClass.LINK_THIS:
|
case ScriptBaseClass.LINK_THIS:
|
||||||
|
|
Loading…
Reference in New Issue