Fixes Region Crossings on a prim.

mysql-performance
Revolution 2010-01-23 20:29:02 -06:00 committed by Melanie
parent 316503c398
commit fe06f0dd05
1 changed files with 9 additions and 1 deletions

View File

@ -2779,8 +2779,16 @@ namespace OpenSim.Region.Framework.Scenes
protected void CrossToNewRegion() protected void CrossToNewRegion()
{ {
InTransit(); InTransit();
try
{
m_scene.CrossAgentToNewRegion(this, m_physicsActor.Flying); m_scene.CrossAgentToNewRegion(this, m_physicsActor.Flying);
} }
catch(Exception ex)
{
m_scene.CrossAgentToNewRegion(this, false);
}
}
public void InTransit() public void InTransit()
{ {