Don't slide crouching avatar when camera is panned around them with left mouse button

This matches linden lab grid behaviour
inv-download
Justin Clark-Casey (justincc) 2015-02-27 19:43:31 +00:00
parent aeb8a4bf85
commit ca7cc9b2e2
1 changed files with 3 additions and 1 deletions

View File

@ -2128,6 +2128,8 @@ namespace OpenSim.Region.Framework.Scenes
try
{
// Don't slide against ground when crouching if camera is panned around avatar
if (Flying || DCF != Dir_ControlFlags.DIR_CONTROL_FLAG_DOWN)
agent_control_v3 += dirVectors[i];
//m_log.DebugFormat("[Motion]: {0}, {1}",i, dirVectors[i]);
}