mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 01:35:46 +08:00
apply by and the patch in mantis 9218 and change it. (Untested)
This commit is contained in:
@@ -491,9 +491,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
List<Scene> sceneList = Scenes;
|
||||
foreach (Scene scene in sceneList)
|
||||
{
|
||||
avatar = scene.GetScenePresence(avatarId);
|
||||
|
||||
if (avatar != null && !avatar.IsChildAgent)
|
||||
if (scene.TryGetSceneRootPresence(avatarId, out avatar))
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user