mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 02:05:34 +08:00
Renamed TryGetAvatar to TryGetScenePresence on SceneManager, SceneBase, Scene and SceneGraph. This was the only change in this patch to keep it isolated from other recent changes to the same set of files.
This commit is contained in:
@@ -190,11 +190,11 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
/// <param name="agentID"></param>
|
||||
public abstract void RemoveClient(UUID agentID);
|
||||
|
||||
public bool TryGetAvatar(UUID agentID, out object scenePresence)
|
||||
public bool TryGetScenePresence(UUID agentID, out object scenePresence)
|
||||
{
|
||||
scenePresence = null;
|
||||
ScenePresence sp = null;
|
||||
if (TryGetAvatar(agentID, out sp))
|
||||
if (TryGetScenePresence(agentID, out sp))
|
||||
{
|
||||
scenePresence = sp;
|
||||
return true;
|
||||
@@ -203,7 +203,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
return false;
|
||||
}
|
||||
|
||||
public abstract bool TryGetAvatar(UUID agentID, out ScenePresence scenePresence);
|
||||
public abstract bool TryGetScenePresence(UUID agentID, out ScenePresence scenePresence);
|
||||
|
||||
#endregion
|
||||
|
||||
|
||||
Reference in New Issue
Block a user