aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
index 973f2cf..a03593e 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -2128,7 +2128,9 @@ namespace OpenSim.Region.Framework.Scenes
2128 2128
2129 try 2129 try
2130 { 2130 {
2131 agent_control_v3 += dirVectors[i]; 2131 // Don't slide against ground when crouching if camera is panned around avatar
2132 if (Flying || DCF != Dir_ControlFlags.DIR_CONTROL_FLAG_DOWN)
2133 agent_control_v3 += dirVectors[i];
2132 //m_log.DebugFormat("[Motion]: {0}, {1}",i, dirVectors[i]); 2134 //m_log.DebugFormat("[Motion]: {0}, {1}",i, dirVectors[i]);
2133 } 2135 }
2134 catch (IndexOutOfRangeException) 2136 catch (IndexOutOfRangeException)