Skip to content
Snippets Groups Projects
Commit 1993732a authored by Tofu Linden's avatar Tofu Linden
Browse files

final(?!) merge from viewer-hotfix.

parents 6a6af64e ec5a9e26
No related branches found
No related tags found
No related merge requests found
......@@ -1226,6 +1226,9 @@ void LLAgent::startAutoPilotGlobal(const LLVector3d &target_global, const std::s
if ( distance > 1.f && heightDelta > (sqrtf(mAutoPilotStopDistance) + 1.f))
{
setFlying(TRUE);
// Do not force flying for "Sit" behavior to prevent flying after pressing "Stand"
// from an object. See EXT-1655.
if ("Sit" != mAutoPilotBehaviorName)
mAutoPilotFlyOnStop = TRUE;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment