mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
Fixes Region Crossings on a prim.
This commit is contained in:
@@ -2779,7 +2779,15 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
protected void CrossToNewRegion()
|
||||
{
|
||||
InTransit();
|
||||
m_scene.CrossAgentToNewRegion(this, m_physicsActor.Flying);
|
||||
try
|
||||
{
|
||||
m_scene.CrossAgentToNewRegion(this, m_physicsActor.Flying);
|
||||
}
|
||||
catch(Exception ex)
|
||||
{
|
||||
m_scene.CrossAgentToNewRegion(this, false);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public void InTransit()
|
||||
|
||||
Reference in New Issue
Block a user