mantis 8273 make change on crossings coerent
parent
14f55ab36e
commit
58ba645160
|
@ -1533,6 +1533,7 @@ namespace OpenSim.Region.Framework.Scenes
|
|||
*/
|
||||
public int GetStateSource()
|
||||
{
|
||||
/*
|
||||
AgentCircuitData aCircuit = m_scene.AuthenticateHandler.GetAgentCircuitData(UUID);
|
||||
|
||||
if (aCircuit != null && (aCircuit.teleportFlags != (uint)TeleportFlags.Default))
|
||||
|
@ -1543,6 +1544,8 @@ namespace OpenSim.Region.Framework.Scenes
|
|||
return 5; // StateSource.Teleporting
|
||||
}
|
||||
return 2; // StateSource.PrimCrossing
|
||||
*/
|
||||
return m_teleportFlags == TeleportFlags.Default ? 2 : 5;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
Loading…
Reference in New Issue