mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 11:57:03 +08:00
mantis 8273 make change on crossings coerent
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user