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.

dsg
Dan Lake 2011-05-19 13:32:27 -07:00
parent cfee54ffa0
commit 973d0fcdaa
1 changed files with 2 additions and 1 deletions

View File

@ -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();
}
}
});