Merge branch 'careminster-presence-refactor' of ssh://3dhosting.de/var/git/careminster into careminster-presence-refactor
commit
655f02b695
|
@ -124,12 +124,15 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||||
if (avatar != null && avatar.UUID != m_host.OwnerID)
|
if (avatar != null && avatar.UUID != m_host.OwnerID)
|
||||||
{
|
{
|
||||||
if (avatar.IsChildAgent == false)
|
if (avatar.IsChildAgent == false)
|
||||||
|
{
|
||||||
|
if (avatar.PhysicsActor != null && avatar.PhysicsActor.Position != null)
|
||||||
{
|
{
|
||||||
result.Add(avatar.UUID);
|
result.Add(avatar.UUID);
|
||||||
result.Add(avatar.PhysicsActor.Position);
|
result.Add(avatar.PhysicsActor.Position);
|
||||||
result.Add(avatar.Name);
|
result.Add(avatar.Name);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
});
|
});
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue