Don't slide crouching avatar when camera is panned around them with left mouse button
This matches linden lab grid behaviourinv-download
parent
aeb8a4bf85
commit
ca7cc9b2e2
|
@ -2128,7 +2128,9 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
agent_control_v3 += dirVectors[i];
|
// 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]);
|
//m_log.DebugFormat("[Motion]: {0}, {1}",i, dirVectors[i]);
|
||||||
}
|
}
|
||||||
catch (IndexOutOfRangeException)
|
catch (IndexOutOfRangeException)
|
||||||
|
|
Loading…
Reference in New Issue