Pacify osGetAvatarList to provide LSL types instead of omv types

avinationmerge
Tom 2010-08-04 19:46:41 -07:00
parent 463fbb4990
commit 663e25fd3a
1 changed files with 3 additions and 3 deletions

View File

@ -2222,9 +2222,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
{ {
if (avatar.IsChildAgent == false) if (avatar.IsChildAgent == false)
{ {
result.Add(avatar.UUID); result.Add(new LSL_Key(avatar.UUID.ToString()));
result.Add(avatar.AbsolutePosition); result.Add(new LSL_Vector(avatar.AbsolutePosition.X, avatar.AbsolutePosition.Y, avatar.AbsolutePosition.Z));
result.Add(avatar.Name); result.Add(new LSL_String(avatar.Name));
} }
} }
}); });