diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 7 | ||||
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 3 |
2 files changed, 9 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index 3cce370..d09b895 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -577,6 +577,12 @@ namespace OpenSim.Region.Framework.Scenes | |||
577 | { | 577 | { |
578 | get { return m_SpawnPointRouting; } | 578 | get { return m_SpawnPointRouting; } |
579 | } | 579 | } |
580 | // allow landmarks to pass | ||
581 | private bool m_TelehubAllowLandmarks; | ||
582 | public bool TelehubAllowLandmarks | ||
583 | { | ||
584 | get { return m_TelehubAllowLandmarks; } | ||
585 | } | ||
580 | 586 | ||
581 | #endregion Properties | 587 | #endregion Properties |
582 | 588 | ||
@@ -733,6 +739,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
733 | m_defaultScriptEngine = startupConfig.GetString("DefaultScriptEngine", "XEngine"); | 739 | m_defaultScriptEngine = startupConfig.GetString("DefaultScriptEngine", "XEngine"); |
734 | 740 | ||
735 | m_SpawnPointRouting = startupConfig.GetString("SpawnPointRouting", "closest"); | 741 | m_SpawnPointRouting = startupConfig.GetString("SpawnPointRouting", "closest"); |
742 | m_TelehubAllowLandmarks = startupConfig.GetBoolean("TelehubAllowLandmark", false); | ||
736 | 743 | ||
737 | IConfig packetConfig = m_config.Configs["PacketPool"]; | 744 | IConfig packetConfig = m_config.Configs["PacketPool"]; |
738 | if (packetConfig != null) | 745 | if (packetConfig != null) |
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index 0c66e49..6022175 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -3929,7 +3929,8 @@ namespace OpenSim.Region.Framework.Scenes | |||
3929 | { | 3929 | { |
3930 | if ((m_teleportFlags & (TeleportFlags.ViaLogin | TeleportFlags.ViaRegionID)) == | 3930 | if ((m_teleportFlags & (TeleportFlags.ViaLogin | TeleportFlags.ViaRegionID)) == |
3931 | (TeleportFlags.ViaLogin | TeleportFlags.ViaRegionID) || | 3931 | (TeleportFlags.ViaLogin | TeleportFlags.ViaRegionID) || |
3932 | (m_teleportFlags & TeleportFlags.ViaLandmark) != 0 || | 3932 | // (m_teleportFlags & TeleportFlags.ViaLandmark) != 0 || |
3933 | (m_scene.TelehubAllowLandmarks == true ? false : ((m_teleportFlags & TeleportFlags.ViaLandmark) != 0 )) || | ||
3933 | (m_teleportFlags & TeleportFlags.ViaLocation) != 0 || | 3934 | (m_teleportFlags & TeleportFlags.ViaLocation) != 0 || |
3934 | (m_teleportFlags & Constants.TeleportFlags.ViaHGLogin) != 0) | 3935 | (m_teleportFlags & Constants.TeleportFlags.ViaHGLogin) != 0) |
3935 | { | 3936 | { |