From b6af41ec1168e2548659fd8dbfaa774bd1c49c20 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Sat, 26 Jul 2014 05:59:38 +0100 Subject: dont standup avatar on crossing --- OpenSim/Region/Framework/Scenes/Scene.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'OpenSim') diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index 55766cf..0765b3f 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs @@ -2469,7 +2469,7 @@ namespace OpenSim.Region.Framework.Scenes foreach (UUID av in avatars) { ScenePresence p = GetScenePresence(av); - if (p != null) + if (p != null && p.ParentUUID == UUID.Zero) p.StandUp(); } @@ -3134,7 +3134,7 @@ namespace OpenSim.Region.Framework.Scenes // and the scene presence and the client, if they exist try { - ScenePresence sp = GetScenePresence(agentID); + ScenePresence sp = WaitGetScenePresence(agentID); if (sp != null) { -- cgit v1.1