Merge branch 'master' into careminster-presence-refactor

This commit is contained in:
Melanie
2010-05-10 04:05:04 +01:00
19 changed files with 78 additions and 40 deletions

View File

@@ -5824,7 +5824,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
public LSL_String llGetLandOwnerAt(LSL_Vector pos)
{
m_host.AddScriptLPS(1);
return World.LandChannel.GetLandObject((float)pos.x, (float)pos.y).LandData.OwnerID.ToString();
ILandObject land = World.LandChannel.GetLandObject((float)pos.x, (float)pos.y);
if (land == null)
return UUID.Zero.ToString();
return land.LandData.OwnerID.ToString();
}
/// <summary>

View File

@@ -485,7 +485,6 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Plugins
}
else
{
// If full circle is asked for, just add it
sensedEntities.Add(new SensedEntity(dis, presence.UUID));
}
}