let osGetPrimitiveParams also return sitting avatar informationg, if PRIM_LINK_TARGET points to one
parent
f03ee2f795
commit
5c998f6d60
|
@ -14879,13 +14879,18 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
List<SceneObjectPart> parts = GetLinkParts(obj, linknumber);
|
List<ISceneEntity> entities = GetLinkEntities(obj, linknumber);
|
||||||
if(parts.Count == 0)
|
if (entities.Count == 0)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
rules = remaining.GetSublist(1, -1);
|
rules = remaining.GetSublist(1, -1);
|
||||||
foreach (SceneObjectPart part in parts)
|
foreach (ISceneEntity entity in entities)
|
||||||
remaining = GetPrimParams(part, rules, ref result);
|
{
|
||||||
|
if (entity is SceneObjectPart)
|
||||||
|
remaining = GetPrimParams((SceneObjectPart)entity, rules, ref result);
|
||||||
|
else
|
||||||
|
remaining = GetPrimParams((ScenePresence)entity, rules, ref result);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
|
|
Loading…
Reference in New Issue