From 973d0fcdaae3f78b7b3cf9a71a937e110e881c1c Mon Sep 17 00:00:00 2001 From: Dan Lake Date: Thu, 19 May 2011 13:32:27 -0700 Subject: [PATCH] Prevent checking for border crossings for synced avatars. This causes border crossings to happen only on the client manager where the real client is connected and the result is synced to other actors. --- OpenSim/Region/Framework/Scenes/Scene.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index 7184158a13..35d2a3df9e 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs @@ -1751,7 +1751,8 @@ namespace OpenSim.Region.Framework.Scenes // Check that we have a physics actor or we're sitting on something if (sp.ParentID == 0 && sp.PhysicsActor != null || sp.ParentID != 0) { - sp.CheckForBorderCrossing(); + if(!sp.IsSyncedAvatar) + sp.CheckForBorderCrossing(); } } });