mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 06:06:06 +08:00
Don't slide crouching avatar when camera is panned around them with left mouse button
This matches linden lab grid behaviour
This commit is contained in:
@@ -2128,7 +2128,9 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
|
||||
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]);
|
||||
}
|
||||
catch (IndexOutOfRangeException)
|
||||
|
||||
Reference in New Issue
Block a user