diff options
author | BlueWall | 2012-01-09 17:04:34 -0500 |
---|---|---|
committer | BlueWall | 2012-01-09 17:04:34 -0500 |
commit | 95345521f0316fb1800b7579c65a535ee1d8f495 (patch) | |
tree | 902552679d6867ac992fdc83a257e7f20190d889 /OpenSim | |
parent | Fix teleport routing for incoming HG+Owner (diff) | |
download | opensim-SC_OLD-95345521f0316fb1800b7579c65a535ee1d8f495.zip opensim-SC_OLD-95345521f0316fb1800b7579c65a535ee1d8f495.tar.gz opensim-SC_OLD-95345521f0316fb1800b7579c65a535ee1d8f495.tar.bz2 opensim-SC_OLD-95345521f0316fb1800b7579c65a535ee1d8f495.tar.xz |
TP Routing debug
Fix test to checking against bitfield instead of int
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index 8a49f2c..0837679 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -3836,15 +3836,18 @@ namespace OpenSim.Region.Framework.Scenes | |||
3836 | 3836 | ||
3837 | private void CheckAndAdjustLandingPoint(ref Vector3 pos) | 3837 | private void CheckAndAdjustLandingPoint(ref Vector3 pos) |
3838 | { | 3838 | { |
3839 | // // Some temporary debugging help to show all the TeleportFlags we have... | 3839 | // Some temporary debugging help to show all the TeleportFlags we have... |
3840 | // bool HG = false; | 3840 | // bool HG = false; |
3841 | // if((m_teleportFlags & (TeleportFlags)Constants.TeleportFlags.ViaHGLogin) == (TeleportFlags)Constants.TeleportFlags.ViaHGLogin) | 3841 | // if((m_teleportFlags & (TeleportFlags)Constants.TeleportFlags.ViaHGLogin) == (TeleportFlags)Constants.TeleportFlags.ViaHGLogin) |
3842 | // HG = true; | 3842 | // HG = true; |
3843 | // | 3843 | // |
3844 | // m_log.InfoFormat("[SCENE PRESENCE]: TELEPORT ******************"); | 3844 | // m_log.InfoFormat("[SCENE PRESENCE]: TELEPORT ******************"); |
3845 | // | 3845 | // |
3846 | // for (uint i = 0; i <= 30 ; i++) | 3846 | // uint i = 0u; |
3847 | // for (int x = 0; x <= 30 ; x++, i = 1u << x) | ||
3847 | // { | 3848 | // { |
3849 | // i = 1u << x; | ||
3850 | // | ||
3848 | // if((m_teleportFlags & (TeleportFlags)i) == (TeleportFlags)i) | 3851 | // if((m_teleportFlags & (TeleportFlags)i) == (TeleportFlags)i) |
3849 | // if (HG == false) | 3852 | // if (HG == false) |
3850 | // m_log.InfoFormat("[SCENE PRESENCE]: Teleport Flags include {0}", ((TeleportFlags) i).ToString()); | 3853 | // m_log.InfoFormat("[SCENE PRESENCE]: Teleport Flags include {0}", ((TeleportFlags) i).ToString()); |